Luke Dashjr
98790608a4
getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not
2016-06-06 17:10:23 +00:00
Luke Dashjr
72cd6b20ca
qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates
2016-06-06 17:10:22 +00:00
Luke Dashjr
d3df40e51a
Implement BIP 9 GBT changes
...
- BIP9DeploymentInfo struct for static deployment info
- VersionBitsDeploymentInfo: Avoid C++11ism by commenting parameter names
- getblocktemplate: Make sure to set deployments in the version if it is LOCKED_IN
- In this commit, all rules are considered required for clients to support
2016-06-06 17:10:22 +00:00
NicolasDorier
71527a0f31
Test of BIP9 fork activation of mtp, csv, sequence_lock
2016-03-21 09:07:34 +00:00
Alex Morcos
19d73d540c
Add RPC test for BIP 68/112/113 soft fork.
...
This RPC test will test both the activation mechanism of the first versionbits soft fork as well as testing many code branches of the consensus logic for BIP's 68, 112, and 113.
2016-03-18 08:09:06 +00:00
BtcDrak
12c89c9185
Policy: allow transaction version 2 relay policy.
...
This commit introduces a way to gracefully bump the default
transaction version in a two step process.
2016-03-18 08:09:06 +00:00
BtcDrak
02c2435802
Soft fork logic for BIP68
2016-03-18 08:09:06 +00:00
BtcDrak
478fba6d52
Soft fork logic for BIP113
2016-03-18 08:09:06 +00:00
Pieter Wuille
65751a3cf2
Add CHECKSEQUENCEVERIFY softfork through BIP9
2016-03-18 08:09:06 +00:00
Wladimir J. van der Laan
73b7eb501e
Merge #7575 : Minimal BIP9 implementation
...
8c74ced
RPC test for BIP9 warning logic (Suhas Daftuar)
7870deb
Test versionbits deployments (Suhas Daftuar)
532cbb2
Add testing of ComputeBlockVersion (Suhas Daftuar)
d23f6c6
Softfork status report in RPC (Pieter Wuille)
732e774
Versionbits tests (Pieter Wuille)
6851107
BIP9 Implementation (Pieter Wuille)
2016-03-18 08:50:43 +01:00
Wladimir J. van der Laan
f034bced26
Merge #7686 : [qt] Remove 0-fee from send dialog
...
fae8467
[qt] Remove unneeded "fSendFreeTransactions" check (MarcoFalke)
fa48bb3
[qt] Remove 0-fee from send dialog (MarcoFalke)
2016-03-17 16:21:56 +01:00
MarcoFalke
fae8467d41
[qt] Remove unneeded "fSendFreeTransactions" check
2016-03-17 14:48:12 +01:00
Wladimir J. van der Laan
01f4267623
Merge #7594 : Mempool: Add tracking of ancestor packages
...
ce019bf
Check all ancestor state in CTxMemPool::check() (Suhas Daftuar)
e2eeb5d
Add ancestor feerate index to mempool (Suhas Daftuar)
72abd2c
Add ancestor tracking to mempool (Suhas Daftuar)
76a7632
Remove work limit in UpdateForDescendants() (Suhas Daftuar)
5de2baa
Rename CTxMemPool::remove -> removeRecursive (Suhas Daftuar)
7659438
CTxMemPool::removeForBlock now uses RemoveStaged (Suhas Daftuar)
2016-03-17 13:33:54 +01:00
Wladimir J. van der Laan
14d6324a24
Merge #7187 : Keep reorgs fast for SequenceLocks checks
...
982670c
Add LockPoints (Alex Morcos)
2016-03-16 21:20:04 +01:00
Alex Morcos
982670c333
Add LockPoints
...
Obtain LockPoints to store in CTxMemPoolEntry and during a reorg, evaluate whether they are still valid and if not, recalculate them.
2016-03-16 16:11:46 -04:00
Wladimir J. van der Laan
622fe6c32f
Merge #7697 : Tests: make prioritise_transaction.py more robust
...
ec14339
Tests: make prioritise_transaction.py more robust (Suhas Daftuar)
2016-03-16 20:04:42 +01:00
Suhas Daftuar
ec143391ef
Tests: make prioritise_transaction.py more robust
2016-03-16 12:52:04 -04:00
Wladimir J. van der Laan
3d0dfdbf9f
Merge #7684 : [qa] Extend tests
...
fad8cfb
[qa] mininode: Add and use CONSTs (MarcoFalke)
fa8cd46
[qa] Move create_tx() to util.py (MarcoFalke)
fad7dc8
[qa] wallet: speed up tests (MarcoFalke)
fa3a81a
[tests] Extend util_ParseMoney test case (MarcoFalke)
2016-03-16 17:32:05 +01:00
Suhas Daftuar
8c74cedef5
RPC test for BIP9 warning logic
2016-03-16 15:09:39 +01:00
Suhas Daftuar
7870debceb
Test versionbits deployments
2016-03-15 16:54:39 +01:00
Suhas Daftuar
532cbb22b5
Add testing of ComputeBlockVersion
2016-03-15 16:54:39 +01:00
Pieter Wuille
d23f6c6a0d
Softfork status report in RPC
2016-03-15 16:54:38 +01:00
Pieter Wuille
732e774c06
Versionbits tests
2016-03-15 16:54:38 +01:00
Pieter Wuille
6851107b3a
BIP9 Implementation
...
Inspired by former implementations by Eric Lombrozo and Rusty Russell, and
based on code by Jorge Timon.
2016-03-15 16:54:38 +01:00
Wladimir J. van der Laan
a6a860796a
Merge #7621 : Fixes ZMQ startup with bad arguments.
...
0040118
Fixes ZMQ startup with bad arguments. (mrbandrews)
2016-03-15 09:29:58 +01:00
Wladimir J. van der Laan
48f3905831
Merge #7683 : Fix torcontrol.cpp unused private field warning
...
3d7e973
Fix torcontrol.cpp unused private field warning (Jonas Schnelli)
2016-03-14 18:38:09 +01:00
MarcoFalke
fa48bb3148
[qt] Remove 0-fee from send dialog
2016-03-14 18:32:09 +01:00
Suhas Daftuar
ce019bf90f
Check all ancestor state in CTxMemPool::check()
2016-03-14 12:13:34 -04:00
Suhas Daftuar
e2eeb5dda7
Add ancestor feerate index to mempool
2016-03-14 12:13:34 -04:00
Suhas Daftuar
72abd2ce3c
Add ancestor tracking to mempool
...
This implements caching of ancestor state to each mempool entry, similar to
descendant tracking, but also including caching sigops-with-ancestors (as that
metric will be helpful to future code that implements better transaction
selection in CreatenewBlock).
2016-03-14 12:13:33 -04:00
Suhas Daftuar
76a76321d2
Remove work limit in UpdateForDescendants()
...
The work limit served to prevent the descendant walking algorithm from doing
too much work by marking the parent transaction as dirty. However to implement
ancestor tracking, it's not possible to similarly mark those descendant
transactions as dirty without having to calculate them to begin with.
This commit removes the work limit altogether. With appropriate
chain limits (-limitdescendantcount) the concern about doing too much
work inside this function should be mitigated.
2016-03-14 12:13:31 -04:00
Suhas Daftuar
5de2baa138
Rename CTxMemPool::remove -> removeRecursive
...
remove is no longer called non-recursively, so simplify the logic
and eliminate an unnecessary parameter
2016-03-14 12:11:09 -04:00
Suhas Daftuar
7659438a63
CTxMemPool::removeForBlock now uses RemoveStaged
2016-03-14 12:11:08 -04:00
MarcoFalke
fad8cfb893
[qa] mininode: Add and use CONSTs
2016-03-14 16:45:18 +01:00
MarcoFalke
fa8cd46f39
[qa] Move create_tx() to util.py
2016-03-14 16:45:04 +01:00
MarcoFalke
fad7dc8a6c
[qa] wallet: speed up tests
2016-03-14 16:20:59 +01:00
Jonas Schnelli
3d7e97376a
Fix torcontrol.cpp unused private field warning
2016-03-14 16:07:42 +01:00
MarcoFalke
fa3a81af18
[tests] Extend util_ParseMoney test case
2016-03-14 15:49:33 +01:00
Wladimir J. van der Laan
0735c0ca7c
Merge #7608 : [wallet] Move hardcoded file name out of log messages
...
fa19b18
[wallet] Move hardcoded file name out of log messages (MarcoFalke)
2016-03-14 13:56:23 +01:00
MarcoFalke
fa19b18c63
[wallet] Move hardcoded file name out of log messages
2016-03-14 13:54:05 +01:00
Wladimir J. van der Laan
41d2dfa9e7
Merge #7680 : qt: Remove reflection from about
icon
...
322a7a2
qt: Remove reflection from `about` icon (Wladimir J. van der Laan)
2016-03-14 13:43:01 +01:00
Wladimir J. van der Laan
322a7a2fe0
qt: Remove reflection from about
icon
...
While trying to find a black/white version of the Bitcoin
logo for the organization I noticed the about.png is not
entirely black - it has some reflection. Remove this to make
it the same as other icons.
Also ran the icons through `contrib/devtools/optimize-pngs.py`,
so `chevron.png` was optimized too.
2016-03-14 12:46:59 +01:00
Wladimir J. van der Laan
c15eb28241
Merge #7658 : Add curl to Gitian setup instructions
...
ce41cf0
Add curl to Gitian setup instrustions (BtcDrak)
2016-03-14 12:24:22 +01:00
Wladimir J. van der Laan
c9a1265754
Merge #7670 : use cached block hash in blockToJSON()
...
a6ee0ca
use cached block hash in blockToJSON() (Pavel Vasin)
2016-03-14 12:22:40 +01:00
Wladimir J. van der Laan
c87f51e55b
Merge #7663 : Make the generate RPC call function for non-regtest
...
8a253b3
Make the generate RPC call function for non-regtest (Pieter Wuille)
2016-03-14 11:36:20 +01:00
Wladimir J. van der Laan
11c769966a
Merge #7507 : Remove internal miner
...
8d1de43
Remove internal miner (Leviathn)
2016-03-14 11:35:41 +01:00
Wladimir J. van der Laan
5b3b5a7d71
Merge #7577 : [Wallet] move "load wallet phase" to CWallet
...
15e6e13
[Wallet] optimize return value of InitLoadWallet() (Jonas Schnelli)
fc7c60d
[Wallet] move "load wallet phase" to CWallet (Jonas Schnelli)
2016-03-14 11:34:50 +01:00
Wladimir J. van der Laan
f1ca8915bb
Merge #7517 : test: script_error checking in script_invalid tests
...
0ecb340
test: Script_error checking in script_invalid tests (Wladimir J. van der Laan)
2317ad7
test: Re-introduce JSON pretty printing in test builder (Wladimir J. van der Laan)
b0ff857
test: Move non-generated script_invalid test to the correct place (Wladimir J. van der Laan)
2016-03-14 11:30:06 +01:00
Wladimir J. van der Laan
56d2c4e0fe
Merge #7667 : Move GetTempPath() to testutil
...
2fdaa25
Move GetTempPath() to testutil. (Mustafa)
393b22e
Add a source file for unit test utils. (Mustafa)
2016-03-14 11:26:52 +01:00
Jonas Schnelli
15e6e13624
[Wallet] optimize return value of InitLoadWallet()
2016-03-14 09:33:27 +01:00