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
9b2a04bd95
Use tx cost rather than evictionWeight when checking mempool capacity
2019-10-09 13:42:46 -06:00
Eirik Ogilvie-Wigley
2d9becbeb8
Rename variables for consistency
2019-10-09 13:36:20 -06:00
Eirik Ogilvie-Wigley
1556ec6722
Fix comments
2019-10-09 13:19:09 -06:00
Eirik Ogilvie-Wigley
bf044cc0c3
Represent tx costs as signed integers
2019-10-09 13:14:35 -06:00
Eirik Ogilvie-Wigley
b680185f48
mempool_limit rpc test cleanup
2019-10-09 12:50:00 -06:00
Eirik Ogilvie-Wigley
61b7dfb6f0
Move duplicate macro to reusable location
2019-10-09 12:25:56 -06:00
Eirik Ogilvie-Wigley
69a5ffe5d4
Prevent adding duplicate transactions
2019-10-09 12:13:01 -06:00
Eirik Ogilvie-Wigley
2365ba7b97
Put size increment and decrement on their own lines
2019-10-09 12:06:03 -06:00
Eirik Ogilvie-Wigley
30be750644
Fix recently evicted list size
2019-10-09 11:59:14 -06:00
Homu
f25d36b9e8
Auto merge of #4129 - str4d:librustzcash-dev-tooling, r=Eirik0
...
Developer tooling for librustzcash
Closes #4106 .
2019-10-08 10:24:35 -07:00
Homu
4eaad3f77b
Auto merge of #4154 - zebambam:remove_stale_seeder, r=Eirik0
...
Removed stale seeder, fixing #4153
Removed old seeder.
2019-10-07 15:06:20 -07:00
Eirik Ogilvie-Wigley
a515b0057a
No need to activate Overwinter/Sapling in rpc test
2019-10-07 14:43:44 -06:00
Eirik Ogilvie-Wigley
9e97833952
Fix naming conventions
2019-10-07 14:23:42 -06:00
Eirik Ogilvie-Wigley
1a06727c0c
Performance: Store weighted transactions in a tree
2019-10-07 14:23:42 -06:00
Eirik Ogilvie-Wigley
6fdd8f5298
Help message cleanup and add lock
2019-10-07 14:23:41 -06:00
Eirik Ogilvie-Wigley
1407fd10a1
Remove transactions when ensuring size limit
2019-10-07 14:23:41 -06:00
Eirik Ogilvie-Wigley
0b2c5cfcc2
Grammatical fixes
...
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
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
zebambam
3b9237b883
Removed stale seeder, fixing #4153
2019-10-07 13:17:21 -07:00
Homu
fafc479fcf
Auto merge of #3765 - jeff-liang:addnetworkindicator, r=daira
...
Display which network the node is running on. Resolves #3760 .
Resolves #3760
2019-10-02 08:41:32 -07:00
Homu
8770f88663
Auto merge of #4134 - daira:fix-disable-expiry, r=Eirik0
...
Fix the use of 0 as expiryheight in createrawtransaction, to disable expiry
fixes #4132
2019-09-26 12:47:13 -07:00
Daira Hopwood
3e37152bf5
Fix setting an expiry height of 0. fixes #4132
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-26 20:43:52 +01:00
Daira Hopwood
7167dc9b2c
Test setting an expiry height of 0.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-26 20:43:52 +01: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
Homu
62dc5f0821
Auto merge of #4144 - zcash:hotfix-v2.0.7-3, r=str4d
...
Release v2.0.7-3
2019-09-24 16:02:35 -07:00
Daira Hopwood
e3983afc03
Merge pull request #21 from zcash/release-v2.0.7-3
...
Release v2.0.7-3
2019-09-24 21:18:53 +01:00
Daira Hopwood
dffdbcf31d
Set Debian changelog urgency to critical.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-24 21:04:45 +01:00
Daira Hopwood
5beb316b6b
make-release.py: Updated release notes and changelog for 2.0.7-3.
2019-09-24 21:01:13 +01:00
Daira Hopwood
ef508aeb5b
make-release.py: Updated manpages for 2.0.7-3.
2019-09-24 21:01:13 +01:00
Daira Hopwood
1e11ffb6bb
make-release.py: Versioning changes for 2.0.7-3.
2019-09-24 20:58:26 +01:00
Daira Hopwood
1ef3f7b1d6
Make a note of the shorter service period in the release notes.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-24 20:57:02 +01:00
Daira Hopwood
4954114eec
Merge pull request #19 from zcash/release-notes
...
Add hotfix release notes.
2019-09-24 19:24:36 +01:00
Daira Hopwood
2f5d665f53
Add hotfix release notes.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-24 19:23:34 +01:00
Daira Hopwood
921f326132
Merge pull request #18 from zcash/mempool-txnotify-thread
...
Move mempool SyncWithWallets call into its own thread
2019-09-24 19:22:08 +01:00
Daira Hopwood
f5832a9549
Merge pull request #17 from zcash/exception-handling
...
Ignore exceptions when deserializing note plaintexts
2019-09-24 19:21:34 +01:00
Daira Hopwood
691f7dc2fa
Merge pull request #16 from zcash/disable-log-shrinking
...
Disable -shrinkdebugfile command
2019-09-24 19:21:07 +01:00
Jack Grigg
9d8322a341
Enable RPC tests to wait on mempool notifications
2019-09-20 21:41:49 +01:00
Jack Grigg
3ff68c5052
Move mempool SyncWithWallets call into its own thread
2019-09-20 21:00:42 +01:00
Jack Grigg
f48cfeffe5
Update release notes with node abort behaviour
2019-09-20 09:40:45 +01:00
Jack Grigg
c1fbf8ab5d
Ignore exceptions when deserializing note plaintexts
2019-09-19 22:29:24 +01:00
Jack Grigg
7c8111f304
Remove cs_main lock requirement from CWallet::SyncTransaction
...
SetMerkleBranch was the only call underneath SyncTransaction that
required the cs_main lock.
2019-09-19 20:59:05 +01:00
Jack Grigg
d917c11572
SetMerkleBranch: remove unused code, remove cs_main lock requirement
...
Includes equivalent changes to bitcoin/bitcoin#9446
2019-09-19 20:57:39 +01:00
Jack Grigg
5ae7b70ae6
Disable -shrinkdebugfile command
2019-09-19 18:05:56 +01:00
Jack Grigg
c8c43c4210
Add block hashes for Overwinter, Sapling, and testnet Blossom
...
Also updates nMinimumChainWork for testnet (using block 585000).
2019-09-19 16:10:35 +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
128d863fb8
Auto merge of #4130 - fubuloubu:patch-1, r=str4d
...
Change Debian package description
Some GUI Debian package managers only show the first line of the description. This PR alters the description to indicate that this is a Zcash package.
2019-09-18 15:46:40 -07:00
Eirik Ogilvie-Wigley
c8715f7fb3
Wrap metrics message in strprintf
2019-09-18 12:16:11 -06:00