Commit Graph

538 Commits

Author SHA1 Message Date
Duke Leto
e8509dd525 It is called hush_hardfork_active now 2019-12-13 11:08:10 -05:00
Duke Leto
02c34367bf src/wallet/wallet.cpp upstream changes 2019-12-12 19:19:28 -05:00
Duke Leto
e87d029968 Mostly-working Hush full node sans Verus!!!
Every line of Verus-specific code has been removed from the codebase.
This code compiles on Linux and can do a partial sync. A full sync
and other extensive tests need to be done before it's merged into
the duke branch.

BUGS:

One known bug is that the node starts to CPU mine by default, lol.
2019-11-05 09:42:21 -05:00
Duke Leto
f39cd2a473 Delete Verus junk, which breaks ARMv8/aarch64 builds 2019-11-04 08:17:27 -05:00
Duke Leto
73dcf87f10 Merge upstream FSM into duke 2019-10-09 22:00:02 -04:00
Duke Leto
cae920cf69 More stuff 2019-10-05 13:05:54 -04:00
Jonathan "Duke" Leto
0ebd33efa6 fix compile 2019-10-05 12:06:06 -04:00
Jonathan "Duke" Leto
7920cbc7e7 Merge z_viewtransaction from str4d zcash PR4146 2019-10-05 12:06:06 -04:00
ca333
85aad4be5d fix PING attack [CVE-2019-17048] 2019-10-02 21:53:47 +02:00
blackjok3r
d4aac39f75 fix erase expired tx on wallet load 2019-05-19 00:21:36 +08:00
blackjok3r
02a3f08894 fix staking wallet fix. 2019-05-18 23:38:49 +08:00
Bartlomiej Lisiecki
191fc2e152 Add support for importing and exporting sapling ivk 2019-04-22 17:22:31 -07:00
blackjok3r
237f115594 Clean up some LABS related code, remove un-used/needed stuff.
Adds actual working and feild tested wallet filter. Can set any amount 
of whitelist address's, in conf file or commandline args. 
fix daemon deadlock, when doing z_mergetoaddress and mining at same time 
(needs more testing on staking chains) 
Set z_mergtoaddress to use a 0 expiry height when not doing z-tx's. They 
were failing and peers were getting banned trying to broadcast them.
2019-04-09 18:53:32 +08:00
blackjok3r
e101aa3f9b make -whitelistaddress= activate wallet filter 2019-04-09 06:10:02 +08:00
blackjok3r
6f5e339884 fix 2019-04-09 05:50:06 +08:00
blackjok3r
0d587ccc31 fix 2019-04-09 05:39:34 +08:00
blackjok3r
a30fb4ae36 test 2019-04-09 05:38:10 +08:00
blackjok3r
faea923284 set notary address from -pubkey filter still default to on. 2019-04-09 05:10:52 +08:00
blackjok3r
7e74cb117c fix 2019-04-09 01:39:38 +08:00
blackjok3r
d8edaa38ec make wallet filter work for testnet notary 2019-04-09 01:36:30 +08:00
jl777
8e89c783d4 Casts for windows 2019-03-04 03:22:51 -11:00
Duke Leto
c99801952b Teach RPC interface about dpow-enabled minconfs (#1231)
* Make minconfs dpow-aware in z_listunspent + z_listreceivedbyaddress

* Add dpow-related test files to test suite

* Add dpow simulation to regtest every 7 blocks

* Fix compiler errors

* Fix link error

* Fix stdout spam when running regtests

* Dpowminconfs for listreceivedbyaddress

* dpowconfs tests

* Start adding specific tests for dpowminconfs in listreceivedbyaddress

* Get dpowminconfs tests for listreceivedbyaddress working

* Add dpowminconfs to getreceivedbyaddress + listunspent

* Add test for listtransactions + getreceivedbyaddress support

* Reliably passing dpowminconf tests. We only check for notarized-ness now, not exact confirmation numbers, to avoid race conditions

* Poll for the expected notarization info before running further tests; add support for getbalance

* Migrate tx_height() to a place where asyncrpcoperation_sendmany.cpp can use it

* fix

* Teach GetFilteredNotes about dpowconfs

Many RPCs rely on this internal function, which now correctly uses
dpowconfs to filter by the minconf/maxconf parameters.

* Fix sendmany when using non-default minconf

* inline seems to make things happy

* cleanup

* Add some code to test z_sendmany, which points out https://github.com/jl777/komodo/issues/1247

* try this

* Use already calculated value of dpowconfs instead of calculating it again
2019-03-03 12:27:50 -11:00
blackjok3r
7309367c04 fix & to &&! 2019-02-26 19:55:14 +08:00
blackjok3r
096d25df97 Disable all experminetal/LABS features that are not required. 2019-02-26 12:49:17 +08:00
blackjok3r
cb5aa3c45c Merge branch 'FSM' of https://github.com/jl777/komodo into jl777-FSM 2019-02-18 19:09:54 +08:00
blackjok3r
528f39542e fix reorg problem 2019-02-09 00:08:28 +08:00
jl777
35daec70b1 ReacceptWalletTransactions don't remove from wallet if initial block download 2019-02-08 01:20:00 -11:00
blackjok3r
292edfb284 Merge branch 'FSM' of https://github.com/jl777/komodo into mastertest 2019-01-23 16:57:05 +08:00
jl777
7cfb6293c6 komodo_defs a lot more 2019-01-21 00:31:14 -11:00
jl777
cf9f6577fc Adjust assert 2019-01-13 14:10:11 -11:00
blackjok3r
a543b675f6 Merge branch 'FSM' of https://github.com/jl777/komodo 2019-01-10 02:25:59 +08:00
jl777
4f48570935 ; 2019-01-09 04:31:04 -11:00
jl777
2df13c428f Workaround for -maxreorg 2019-01-09 04:24:04 -11:00
blackjok3r
ff43475a31 Re-add txs that were removed from wallet, if they are valid. 2019-01-04 17:26:28 +08:00
blackjok3r
e93fd95815 Merge branch 'FSM' of https://github.com/jl777/komodo into ac_import 2019-01-02 23:29:52 +08:00
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
blackjok3r
7349a49641 Merge branch 'FSM' of https://github.com/jl777/komodo
fix
2018-12-13 12:40:53 +08:00
jl777
9742bb74db -prints 2018-12-10 11:48:48 -11:00
jl777
80be594638 -print 2018-12-10 11:47:18 -11:00
jl777
3b4ee13f94 Allow one change out in list transactions 2018-12-10 11:46:51 -11:00
jl777
181d6b33f3 +prints 2018-12-10 11:35:11 -11:00
jl777
7883afa7fe Print orderpos 2018-12-10 10:43:21 -11:00
jl777
2b66bcf247 Move prints 2018-12-10 10:37:13 -11:00
jl777
7c88285452 Fix 2018-12-10 10:26:19 -11:00
jl777
755e64a9af -> 2018-12-10 10:25:07 -11:00
jl777
fe0671145e Fix 2018-12-10 10:19:12 -11:00
jl777
80198244d4 New prints 2018-12-10 10:18:42 -11:00
jl777
54431fd74a Prevent height -> nLockTime 2018-12-08 01:33:23 -11:00
jl777
e34bb5163a Non-test code from: https://github.com/zcash/zcash/pull/3619 2018-12-05 01:14:05 -11:00
blackjok3rtt
857edc21a4 Merge pull request #52 from StakedChain/master
attempt wallet fix for empty vin issue
2018-12-01 14:07:02 +08:00