Commit Graph
2872 Commits
Author SHA1 Message Date
Matt Corallo f5b35d2305 Fix removal of time-locked transactions during reorg 2018-02-20 02:57:43 +00:00
Jack Grigg cb580c7241 Add rollback limit to block index rewinding
This will prevent users from starting their nodes if they switch between
software versions that implement different network upgrades. It will also
prevent users from using the testnet if they have more than MAX_REORG_LIMIT
post-upgrade blocks, and the upgrade point is shifted in a newer software
version.
2018-02-19 16:32:45 +00:00
Jack Grigg 57e6ecda5a Implement roll-back limit for reorganisation
Closes #713.
2018-02-19 16:32:42 +00:00
Simon 072099d788 Implementation of Overwinter transaction format ZIP 202. 2018-02-16 10:10:15 -08:00
jl777 fc5bee9e14 -print 2018-02-14 00:57:33 +02:00
jl777 6e94384f91 Test 2018-02-13 21:37:32 +02:00
jl777 53a94b280d Test 2018-02-13 21:34:09 +02:00
jl777 9757c8f97e Test 2018-02-13 21:33:49 +02:00
jl777 8683bd8d11 Debugging 2018-02-13 21:29:42 +02:00
Jack Grigg 828940b163 Use a boost::optional for nCachedBranchId
This enables us to distinguish between it being unset vs. being set to zero.
2018-02-06 22:42:18 +00:00
Jack Grigg 9e851450ab Adjust rewind logic to use the network upgrade mechanism 2018-02-04 22:58:42 +00:00
Pieter Wuille 89f20450c2 Add rewind logic to deal with post-fork software updates
Includes logic for dealing with pruning by Suhas Daftuar.
2018-02-04 22:58:42 +00:00
Per Grön 39d2e9e0cb Make some globals static that can be
External linkage does not help and just encourages sloppy dependencies
and can lead to weird issues when there are name collisions.
2018-01-22 18:20:47 +01:00
Jack Grigg ad6a36ad02 Track net value entering and exiting the Sprout circuit
Delta values will be stored for new blocks; old blocks can be filled in by
re-indexing. The net value currently in the Sprout circuit is only calculated
when delta values for all previous blocks are present.
2017-12-14 22:06:11 +00:00
jl777 7c130297c2 KOMODO_ASSETCHAIN_MAXLEN -> 65 2017-11-10 19:07:36 +02:00
jl777 314350e695 KOMODO_ENDOFERA 2017-11-03 19:22:56 +02:00
jl777 6da8d0d55e Test 2017-10-10 14:15:58 +03:00
jl777 bd901dd742 Reduce print 2017-10-09 18:58:40 +03:00
Simon 06c19063bb Implement RPC shield_coinbase #2448. 2017-09-21 15:04:12 -07:00
jl777 8ab425f8b2 Test 2017-09-18 18:34:43 +02:00
jl777 8dcf7f9449 Test 2017-09-18 17:32:48 +02:00
jl777 164bbe6c3b Test 2017-09-18 17:13:58 +02:00
jl777 4723d6acf5 Test 2017-09-18 16:59:22 +02:00
jl777 336a60cf9b Prevent duplicate headers 2017-09-18 16:57:31 +02:00
jl777 37782e4e3b Remove prints 2017-09-18 16:35:45 +02:00
jl777 1cf907bc75 Test 2017-09-18 16:13:32 +02:00
jl777 5f27c121a9 Test 2017-09-18 16:03:14 +02:00
jl777 e73a3943b3 Test 2017-09-18 15:57:40 +02:00
jl777 c2b0ec2e4e Test 2017-09-18 15:30:30 +02:00
jl777 5323cb13a6 Test 2017-09-18 15:16:49 +02:00
jl777 5fa9e2fe69 Test 2017-09-18 15:15:44 +02:00
jl777 b4123cf295 Test 2017-09-18 15:13:56 +02:00
jl777 74819673e6 Test 2017-09-18 15:12:16 +02:00
jl777 428690eefc Test 2017-09-18 15:10:57 +02:00
jl777 7e24efd429 Print sync messages 2017-09-18 15:09:53 +02:00
jl777 b310d58530 Hot fix for excessive fees 2017-08-22 09:18:46 +02:00
Sean Bowe 15a9937654 Revert "Delete old protocol version constants and simplify code that used them."
This reverts commit 5a49c929dd.
2017-06-23 18:19:25 -06:00
Sean Bowe 9ad9a25eff Revert "Remove an unneeded version workaround as per @str4d's review comment."
This reverts commit 1e9db0b38a.
2017-06-23 18:19:17 -06:00
Homu 59de56eeca Auto merge of #2342 - bitcartel:1081__mempoolpatch, r=str4d
Add ability for node to reject tx from mempool by number of tx inputs

Implement short-term solution described in #2343 so that users can respond promptly to critical short-term problems caused by quadratic validation scaling, such as the getblocktemplate latency, block propagation latency, and mempool size inflation issues described in #2333.
2017-06-21 14:42:13 -07:00
Daira Hopwood c2a722d3c4 Fix a comment that was made stale before launch by #1016 (commit 542da61).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-06-19 16:33:18 +01:00
Daira Hopwood de609b8c54 Strict DER signatures are always enforced; remove the flag and code that used it.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-06-17 17:19:08 +01:00
Simon da6d93916d Add option 'mempooltxinputlimit' so the mempool can reject a transaction
based on the number of transparent inputs.
2017-06-16 19:31:33 -07:00
Homu 3440de74ee Auto merge of #2386 - str4d:2385-consensus-correction, r=str4d
Correct consensus logic in ContextualCheckInputs

Closes #2385.
2017-06-15 18:50:03 -07:00
Jack Grigg 30006a2e79 Correct consensus logic in ContextualCheckInputs
Closes #2385.
2017-06-16 13:45:19 +12:00
Homu a23fdf862d Auto merge of #2245 - daira:2244.remove-old-peer-workarounds, r=str4d
Delete old protocol version constants and simplify code that used them.

fixes #2244

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-06-13 23:10:19 -07:00
jl777 0b2c3fe620 Remove print 2017-06-04 20:11:13 +03:00
jl777 1141b67821 Revert interest changes 2017-06-04 20:09:30 +03:00
jl777 3f7c82e3af Test 2017-06-04 19:18:13 +03:00
jl777 b2c00e5434 Default txindex true 2017-05-23 11:53:04 +03:00
jl777 c3803140cc Test 2017-05-23 10:40:46 +03:00