neobytes/src/wallet
UdjinM6 60409df822 InstantSend overhaul (#1288)
* Multi-quorum InstantSend, complete refactoring
+ cleanup for IS and partial protobump

* more changes:
- allow InstantSend tx to have 10 inputs max
- store many unique tx hashes in mapVotedOutpoints
- more checks in AcceptToMemoryPoolWorker (moved from ProcessMessage + CTxLockRequest(tx).IsValid() )

* More changes:
- let multiple lock candidates compete for votes
- fail to vote on the same outpoint twice early

* More changes:
- notify CInstantSend on UpdatedBlockTip -> remove cs_main from CheckAndRemove()
- notify CInstantSend on SyncTransaction -> count expiration block starting from the block corresponding tx was confirmed instead of the block lock candidate/vote was created
- fixed few locks

* add comments about nConfirmedHeight

* Fix "Block vs Lock" edge case

* Fix "Block vs Lock" edge case, p2

* Fix issues:
- fix logic for locking inputs and notifying - see UpdateLockedTransaction, TryToFinalizeLockCandidate
- add missing hash inserting in ProcessTxLockVote
- add nMaxBlocks param to ResolveConflicts to limit max depth allowed to disconnect blocks recursively
- fix false positive mempool conflict
- add missing mutex locks
- fix fRequireUnspent logic in CTxLockRequest::IsValid
2017-01-29 12:22:14 +04:00
..
test Fix tests 2016-03-04 06:52:57 +01:00
crypter.cpp Wallet passphrase lock fixes (#987) 2016-09-11 13:02:54 +04:00
crypter.h Wallet passphrase lock fixes (#987) 2016-09-11 13:02:54 +04:00
db.cpp CDB: fix debug output (#947) 2016-08-18 18:23:39 +04:00
db.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
rpcdump.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
rpcwallet.cpp Update to listunspent cli command (#1254) 2017-01-11 03:06:17 +04:00
wallet_ismine.cpp Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
wallet_ismine.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
wallet.cpp InstantSend overhaul (#1288) 2017-01-29 12:22:14 +04:00
wallet.h Merge bug fixes (#1260) 2017-01-13 18:02:33 +04:00
walletdb.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
walletdb.h merge #882: Autobackup enhancements + support autobackup in PS 2016-06-15 21:13:04 +02:00