Eirik Ogilvie-Wigley
ca883c8517
Log rather than return error if a transaction is recently evicted
2019-10-09 14:43:35 -06:00
Eirik Ogilvie-Wigley
9e97833952
Fix naming conventions
2019-10-07 14:23:42 -06:00
Eirik Ogilvie-Wigley
1407fd10a1
Remove transactions when ensuring size limit
2019-10-07 14:23:41 -06:00
Eirik Ogilvie-Wigley
a48b1ba7e2
Rebuild weighted list on removal and fix size calculation
2019-10-07 14:23:41 -06:00
Eirik Ogilvie-Wigley
ae9ecf09e8
DoS protection: Weighted random drop of txs if mempool full
2019-10-07 14:23:41 -06:00
Homu
961c0d58ec
Auto merge of #4060 - str4d:remove-libsnark, r=daira
...
Remove libsnark
Closes #167 . Closes #416 . Closes #418 . Closes #437 .
Closes #521 . Closes #743 . Closes #750 . Closes #894 .
Closes #903 . Closes #1125 . Closes #1136 . Closes #1240 .
Closes #1264 . Closes #1516 . Closes #1517 . Closes #1651 .
Closes #2064 . Closes #2158 . Closes #3478 . Closes #3652 .
Closes #3744 .
2019-09-26 11:21:40 -07:00
Jack Grigg
3ff68c5052
Move mempool SyncWithWallets call into its own thread
2019-09-20 21:00:42 +01:00
Jack Grigg
150e330310
Abort node if NU activations have unexpected hashes
2019-09-19 15:00:04 +01:00
Jack Grigg
10b9d6306b
Move AbortNode to the top of main.cpp
...
It is in an anonymous namespace, so it needs to be above all code in the
file that uses it.
2019-09-19 14:52:55 +01:00
Homu
424d8b1af5
Auto merge of #4115 - LarryRuane:4114-spent-index-debug, r=Eirik0
...
#4114 Don't call GetSpentIndex() when converting txs to JSON if spent index is disabled
Closes #4114 .
2019-08-28 21:09:19 -07:00
Larry Ruane
e83168b8c8
better fix: make GetSpentIndex() consistent with others...
...
but don't call it if insight explorer isn't enabled
2019-08-27 08:37:42 -06:00
Daira Hopwood
7d5de93518
Add intended rewind for Blossom on testnet.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-08-26 21:37:44 +01:00
Larry Ruane
210c46c21d
#4114 don't call error() from GetSpentIndex()
2019-08-24 19:05:10 -06:00
Homu
5fd1f5afc0
Auto merge of #3972 - LarryRuane:3708-getblockhashesrpc, r=str4d
...
3708 getblockhashesrpc
Part of #3708
2019-08-09 08:00:17 -07:00
Homu
2528af69ff
Auto merge of #4025 - bitcartel:shorter_block_target_interval_zip208, r=daira
...
Implement ZIP 208: Shorter Block Target Spacing
Closes #3690 .
2019-08-09 02:35:30 -07:00
Larry Ruane
70bda8416a
insightexplorer fix LogPrintf
2019-08-08 14:54:47 -06:00
Larry Ruane
6e7e50be4d
insightexplorer minor bug fixes
2019-08-08 14:45:30 -06:00
Larry Ruane
2e505df351
add timestampindex related RPC getblockhashes
2019-08-08 14:35:07 -06:00
Larry Ruane
86b23f37ad
add spentindex RPC for bitcore block explorer
2019-08-07 14:23:42 -06:00
Eirik Ogilvie-Wigley
b99003c1ec
Rename method and use int64_t
2019-08-07 10:05:01 -06:00
Eirik Ogilvie-Wigley
8f0a54c142
Remove DefaultExpiryDelta method
2019-08-05 13:40:06 -06:00
Eirik Ogilvie-Wigley
0f0512128c
Make sure that expiry height is not less than height
2019-08-05 12:57:10 -06:00
Eirik Ogilvie-Wigley
7ddcf427c0
Fix/update comments
2019-08-05 12:41:31 -06:00
Eirik Ogilvie-Wigley
9f70b74692
Do not add expiring soon threshold to expiry height of txs near NU activation
2019-08-05 11:50:05 -06:00
Eirik Ogilvie-Wigley
8068491d2c
Fix check transaction tests
2019-08-04 14:35:47 -06:00
Eirik Ogilvie-Wigley
f9d6b3e7ef
Extract Halvings method and add tests
2019-08-02 21:37:48 -06:00
Eirik Ogilvie-Wigley
27ee4d64f2
Fix integer truncation in Blossom halving calculation
2019-08-02 19:35:53 -06:00
Eirik Ogilvie-Wigley
65df6225a6
Do not create transactions that will expire after the next epoch
2019-08-02 16:01:20 -06:00
Larry Ruane
68e174e22b
add addressindex related RPCs
2019-07-31 10:31:16 -06:00
Eirik Ogilvie-Wigley
8865f4b6f6
Update expiry height for shorter block times
2019-07-30 01:16:37 -06:00
Eirik Ogilvie-Wigley
c0d27cb3f2
Simplify PartitionCheck
2019-07-29 18:29:39 -06:00
Eirik Ogilvie-Wigley
2c6c55261d
Make NetworkUpgradeAvailable a method of Params
2019-07-29 14:47:06 -06:00
Eirik Ogilvie-Wigley
102dafdf89
Update block subsidy halving for zip208
2019-07-29 13:44:53 -06:00
Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
...
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:26:01 +01:00
Simon
d7ebbeb2aa
Modify PartitionCheck to be aware of pre & post Blossom target spacing.
2019-07-11 14:17:58 -06:00
Simon
22e8dc2679
Replace nPoWTargetSpacing -> PoWTargetSpacing() in ProcessMessage()
2019-07-11 13:46:29 -06:00
Simon
4b985ce999
Update GetBlockTimeout() to take height parameter.
2019-07-11 13:46:29 -06:00
Homu
984b41422a
Auto merge of #4054 - rex4539:haveshieldedrequirements, r=Eirik0
...
Rename joinsplit to shielded
Closes https://github.com/zcash/zcash/issues/3550
2019-07-11 09:45:19 -07:00
Dimitris Apostolou
8bcb96999e
Rename joinsplit to shielded
2019-06-16 22:50:58 +03:00
Dimitris Apostolou
f57f76d789
Rename vjoinsplit to vJoinSplit
2019-06-16 19:13:49 +03:00
Homu
bb58c8ec2e
Auto merge of #3863 - LarryRuane:3708-getrawtransaction, r=daira
...
add spentindex to getrawtransaction RPC results for bitcore block explorer
#3708 There are a few new `getrawtransaction` JSON result fields that the Insight block explorer depends on.
2019-06-11 13:15:00 -07:00
Larry Ruane
f381d4e085
add spentindex to getrawtransaction RPC results
2019-06-11 10:29:51 -06:00
Daira Hopwood
346d11d3eb
Closes #3992 . Remove obsolete warning message.
...
Co-authored-by: Simon <simon@bitcartel.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-06-11 17:27:49 +01:00
Jack Grigg
e12d018464
Globals: Explicitly pass const CChainParams& to ReceivedBlockTransactions()
2019-05-23 20:03:35 +01:00
Jack Grigg
3ffc29b881
Globals: Explicitly pass const CChainParams& to IsInitialBlockDownload()
2019-05-23 20:03:34 +01:00
Jack Grigg
9e0f75dcbd
Consistently use chainparams and consensusParams
2019-05-23 17:48:31 +01:00
Jack Grigg
a3b64d8677
Globals: Explicitly pass const CChainParams& to DisconnectBlock()
2019-05-23 17:48:30 +01:00
Jack Grigg
c6012fe923
Globals: Explicit const CChainParams& arg for main:
...
- ContextualCheckBlockHeader
- ContextualCheckBlock
2019-05-23 17:48:29 +01:00
Jack Grigg
be94721953
Globals: Explicitly pass const CChainParams& to ContextualCheckTransaction()
2019-05-23 17:48:28 +01:00
Jack Grigg
7ef947c32b
Globals: Explicit const CChainParams& arg for main:
...
- CheckBlockHeader
- CheckBlock
2019-05-23 17:48:27 +01:00