Gavin Andresen
0f5954c434
Regression test for ResendWalletTransactions
...
Adds a regression test for the wallet's ResendWalletTransactions function, which uses a new, hidden RPC command "resendwallettransactions."
I refactored main's Broadcast signal so it is passed the best-block time, which let me remove a global variable shared between main.cpp and the wallet (nTimeBestReceived).
I also manually tested the "rebroadcast unconfirmed every half hour or so" functionality by:
1. Running bitcoind -connect=0.0.0.0:8333
2. Creating a couple of send-to-self transactions
3. Connect to a peer using -addnode
4. Waited a while, monitoring debug.log, until I see:
```2015-03-23 18:48:10 ResendWalletTransactions: rebroadcast 2 unconfirmed transactions```
One last change: don't bother putting ResendWalletTransactions messages in debug.log unless unconfirmed transactions were actually rebroadcast.
2015-03-24 15:29:20 -04:00
Wladimir J. van der Laan
22cfe23196
Merge pull request #5890
...
cd3d67c
Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates (Alex Morcos)
2015-03-24 14:50:54 +01:00
Wladimir J. van der Laan
df5c246ba3
Merge pull request #5831
...
1d9b378
qa/rpc-tests/wallet: Tests for sendmany (Luke Dashjr)
40a7573
rpcwallet/sendmany: Just take an array of addresses to subtract fees from, rather than an Object with all values being identical (Luke Dashjr)
292623a
Subtract fee from amount (Cozz Lovan)
90a43c1
[Qt] Code-movement-only: Format confirmation message in sendcoinsdialog (Cozz Lovan)
2015-03-16 12:23:14 +01:00
Alex Morcos
cd3d67cf3b
Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates
2015-03-13 13:11:11 -04:00
Luke Dashjr
1d9b378c30
qa/rpc-tests/wallet: Tests for sendmany
2015-03-13 11:04:25 +01:00
Cozz Lovan
292623adf5
Subtract fee from amount
...
Fixes #2724 and #1570 .
Adds the
automatically-subtract-the-fee-from-the-amount-and-send-whats-left
feature to the GUI and RPC (sendtoaddress,sendmany).
2015-03-13 11:04:18 +01:00
Alex Morcos
88f6c8c365
add RPC test for InvalidateBlock
2015-03-12 10:15:33 -04:00
Wladimir J. van der Laan
d48ce48093
Merge #5548 : [REST] add /rest/chaininfos
...
2c0f901
[REST] rest/chaininfos add documentation (Jonas Schnelli)
59582c8
[REST] add /rest/chaininfos (Jonas Schnelli)
2015-02-10 12:08:07 +01:00
Suhas Daftuar
1cb2a00cb8
Fix getblocktemplate_proposals test by mining one block
...
This triggers the tested node to no longer be in initial
download, allowing the call to getblocktemplate() to succeed.
2015-02-04 12:04:49 -05:00
Wladimir J. van der Laan
41e6e4caba
Merge pull request #5713
...
bf6cdeb
Increase coverage of DERSIG edge cases (Pieter Wuille)
819bcf9
Add RPC test for DERSIG BIP switchover logic (Pieter Wuille)
5a47811
BIP66 changeover logic (Pieter Wuille)
092e9fe
Example unit tests from BIP66 (Pieter Wuille)
80ad135
Change IsDERSignature to BIP66 implementation (Pieter Wuille)
2015-02-03 10:34:53 +01:00
Pieter Wuille
819bcf9b99
Add RPC test for DERSIG BIP switchover logic
2015-02-01 17:51:24 -04:00
bikinibabe
ee932025c1
Changed pronouns for correctness and inclusivity
2015-01-31 17:38:28 -05:00
Matt Bogosian
34c61813a4
Fix README link from util.sh -> util.py.
2015-01-31 17:38:28 -05:00
Jonas Schnelli
1a25a7edf8
[QA] fix httpbasic keep-alive test
2015-01-17 08:56:55 -08:00
Jonas Schnelli
1dd8ee72af
improve tests for #5655
2015-01-14 09:50:00 -08:00
Wladimir J. van der Laan
56c1093dae
fix tests for #5655
2015-01-14 09:50:00 -08:00
Wladimir J. van der Laan
e3f5727590
Merge pull request #5612
...
84d9199
[QA] fix zapwallettxes test (Jonas Schnelli)
2015-01-08 11:51:51 +01:00
Jonas Schnelli
84d919974b
[QA] fix zapwallettxes test
...
- remove shell test script and add a python equivalent
2015-01-07 16:41:12 +01:00
Suhas Daftuar
1eb1e65f09
Fix smartfees test for change to relay policy
2015-01-07 10:11:23 -05:00
Wladimir J. van der Laan
d79adc1ab1
Merge pull request #5535
...
1c52aad
Require sufficent priority for relay of free transactions (Pieter Wuille)
2015-01-07 13:01:56 +01:00
Pieter Wuille
1c52aad540
Require sufficent priority for relay of free transactions
2014-12-30 02:03:29 +01:00
Jonas Schnelli
59582c8b8d
[REST] add /rest/chaininfos
2014-12-29 20:19:48 +01:00
Jonas Schnelli
12d927a391
RPC test for immature balance
2014-12-25 20:15:10 -08:00
Wladimir J. van der Laan
111a7d45f1
Merge pull request #5470
...
78253fc
Remove references to X11 licence (Michael Ford)
2014-12-19 19:23:23 +01:00
Jonas Schnelli
7a3b83269e
[QA] fix httpbasics RPC test typo
2014-12-17 22:40:20 +01:00
Jonas Schnelli
1340f00200
[RPC-TESTS] ability to run single test manually
...
adds possibility to run ./qa/pull-tester/rpc-tests.sh <TESTNAME>
2014-12-16 11:06:17 +01:00
Michael Ford
78253fcbad
Remove references to X11 licence
2014-12-16 15:56:50 +08:00
Pieter Wuille
f676c80f43
Add /rest/headers
2014-12-12 16:37:00 +01:00
Wladimir J. van der Laan
41cced2106
Merge pull request #5267
...
34318d7
RPC-test based on invalidateblock for mempool coinbase spends (Gavin Andresen)
7fd6219
Make CTxMemPool::remove more effecient by avoiding recursion (Matt Corallo)
b7b4318
Make CTxMemPool::check more thourough by using CheckInputs (Matt Corallo)
723d12c
Remove txn which are invalidated by coinbase maturity during reorg (Matt Corallo)
868d041
Remove coinbase-dependant transactions during reorg. (Matt Corallo)
2014-12-11 15:24:00 +01:00
Jonas Schnelli
73351c3686
[REST] /rest/block response with full tx details
...
- rest block request returns full unfolded tx details
- /rest/block/notxdetails/<HASH> returns block where transactions are only represented by its hash
2014-12-09 16:05:50 +01:00
mrbandrews
1577df986e
Port of walletbackup.sh to Python.
2014-12-09 10:57:51 +01:00
Gavin Andresen
34318d7fad
RPC-test based on invalidateblock for mempool coinbase spends
2014-12-08 14:09:58 -08:00
Jonas Schnelli
11d7a7d505
[RPC] add rpc-test for http keep-alive (persistent connections)
2014-12-06 23:15:22 +01:00
Matt Corallo
db0916bd13
Fix missing python2 in rpc-tests
2014-12-05 16:04:05 -08:00
Wladimir J. van der Laan
c2d7c6134e
Merge pull request #5407
...
9e56532
Coinbases-in-mempool regression test (Gavin Andresen)
2014-12-03 10:51:36 +01:00
Gavin Andresen
9e56532959
Coinbases-in-mempool regression test
...
Immature coinbase spends are allowed in the memory pool if they can be mined in the next block.
They are not allowed in the memory pool if they cannot be mined in the next block.
This regression test tests those edge cases.
2014-12-02 19:07:39 -05:00
Gavin Andresen
1c7e09f0b9
Merge pull request #5369
...
b2d0162
Test resurrecting memory pool transactions during chain re-org (Gavin Andresen)
3dd8ed7
Delay writing block indexes in invalidate/reconsider (Pieter Wuille)
798faec
Add 'invalidateblock' and 'reconsiderblock' RPC commands. (Pieter Wuille)
2014-12-02 11:59:41 -05:00
Gavin Andresen
b2d0162ba4
Test resurrecting memory pool transactions during chain re-org
...
Builds on #5316 .
2014-12-02 11:09:25 -05:00
Wladimir J. van der Laan
90f7aa7778
Fix rest.py test after #5376
2014-12-02 15:57:20 +01:00
Jonas Schnelli
01dc2d83f8
[REST] add REST interface tests in rpc-test section
2014-12-01 12:52:21 +01:00
Wladimir J. van der Laan
0ddf4416cc
Merge pull request #5386
...
1b91be4
Report status of chain tips (Pieter Wuille)
2014-12-01 11:49:35 +01:00
Pieter Wuille
1b91be49f5
Report status of chain tips
2014-11-27 11:50:14 +01:00
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
2014-11-27 00:02:28 -05:00
Gavin Andresen
fe042dbe9f
Merge pull request #5335
...
7e615f5
Fixed mempool sync after sending a transaction (Suhas Daftuar)
2014-11-24 10:27:37 -05:00
Wladimir J. van der Laan
f24bcce2ac
Merge pull request #1816
...
b867e40
CreateNewBlock: Stick height in coinbase so we pass template sanity check (Luke Dashjr)
60755db
submitblock: Check for duplicate submissions explicitly (Luke Dashjr)
bc6cb41
QA RPC tests: Add tests block block proposals (Luke Dashjr)
9765a50
Implement BIP 23 Block Proposal (Luke Dashjr)
3dcbb9b
Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock (Luke Dashjr)
132ea9b
miner_tests: Disable checkpoints so they don't fail the subsidy-change test (Luke Dashjr)
df08a62
TestBlockValidity function for CBlock proposals (used by CreateNewBlock) (Luke Dashjr)
4ea1be7
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock (Luke Dashjr)
a48f2d6
Abstract context-dependent block checking from acceptance (Luke Dashjr)
2014-11-24 14:43:10 +01:00
Wladimir J. van der Laan
37c47e1809
Merge pull request #5333
...
e4ef724
Edited rpc-tests to run python script not shell script. (mrbandrews)
189fb52
Port of wallet.sh to python (wallet.py). (mrbandrews)
2014-11-21 13:48:41 +01:00
Suhas Daftuar
7e615f5228
Fixed mempool sync after sending a transaction
2014-11-20 15:49:07 -05:00
mrbandrews
e4ef724493
Edited rpc-tests to run python script not shell script.
2014-11-20 15:36:34 -05:00
mrbandrews
189fb526f1
Port of wallet.sh to python (wallet.py).
...
Also included are minor edits to util.py to create a clean blockchain and add a parameter to gather_inputs to specify number of confirmations.
2014-11-20 14:11:44 -05:00
Luke Dashjr
bc6cb4177b
QA RPC tests: Add tests block block proposals
2014-11-20 00:15:17 +00:00