isle2983
6b6d0e9065
[copyright] Add missing copyright headers
...
Github-Pull: #8676
Rebased-From: 783e930e68a312bc7654d833053cceead18dd688
2018-11-09 22:12:18 +03:00
Daniel Cousens
77e1ba55a0
rpc: update inline comments to refer to new file paths
2018-10-25 21:46:46 +03:00
Suhas Daftuar
ae40e90530
Add test coverage for new RPC calls
2018-10-25 21:43:04 +03:00
lateminer
91698d9fd4
Remove -respendnotify option
2018-10-25 20:04:44 +03:00
Russell Yanofsky
dc8f0bd8de
Modify getblocktxn handler not to drop requests for old blocks
2018-10-24 22:35:37 +03:00
Matt Corallo
e13c064eec
More agressively filter compact block requests
2018-10-24 22:22:07 +03:00
mrbandrews
2f077dc049
Tests: Rework blockstore to avoid re-serialization.
2018-10-24 21:44:26 +03:00
Pieter Wuille
1b70520ceb
Align constant names for maximum compact block / blocktxn depth
2018-10-23 23:24:58 +03:00
Suhas Daftuar
531d15ea84
[qa] Another attempt to fix race condition in p2p-compactblocks.py
...
sync_with_ping() only guarantees that the node has processed messages
it's received from the peer, not that block announcements from the node have
made it back to the peer. Replace sync_with_ping() with an explicit check that
the node's tip has been announced.
Github-Pull: #8882
Rebased-From: 6976db2f4687d575e1b4bee5aaf1d93a794f23c3
2018-10-21 23:36:16 +03:00
Suhas Daftuar
90f833fe60
[qa] Fix race condition in p2p-compactblocks test
...
Also fix a bug in the sync_with_ping() helper function
Github-Pull: #8854
Rebased-From: b5fd666984fdb7125cb809c773b36034f32128cc
2018-10-21 23:36:07 +03:00
Suhas Daftuar
79a8a8b012
Fix broken sendcmpct test in p2p-compactblocks.py
...
Python lambda use was incorrect.
sendcmpct messages need to be synchronized with RPC calls to generate().
Headers need to be synced (eg with getheaders) for cmpctblock announcements
to start.
Last test omitted sending a sendcmpct message.
Github-Pull: #8739
Rebased-From: 157254a4bfdfc4ca3ad5bf2d84e82f290bd0c7f2)
2018-10-21 23:35:49 +03:00
Suhas Daftuar
1df646211a
Add p2p test for BIP 152 (compact blocks)
2018-10-21 23:35:40 +03:00
Wladimir J. van der Laan
d57bd81ce6
http: Restrict maximum size of request line + headers
...
Prevent memory exhaustion by sending lots of data.
Also add a test to `httpbasics.py`.
Closes #6425
2018-10-18 23:12:06 +03:00
Chris Wheeler
ea8bac6c36
Typo fixes in comments
2018-10-17 22:12:07 +03:00
lateminer
f57cc59be2
Remove replace-by-fee
2018-10-15 22:21:51 +03:00
lateminer
f7422db2f7
Update to Core 0.12.2
2018-10-14 19:07:51 +03:00
lateminer
2b38900afd
Remove replace-by-fee test
2018-10-14 15:21:42 +03:00
Gregory Sanders
b89cb14749
Test for fix of txn chaining in wallet
2018-10-14 15:19:50 +03:00
MarcoFalke
4f1de4d089
[qa] util: Move check_fee_amount out of wallet.py
2018-10-14 15:18:01 +03:00
MarcoFalke
5ecf06022d
[qa] wallet: Temporarily disable salvagewallet test
2018-10-14 15:16:54 +03:00
Joao Fonseca
9dde93d005
Add test to check spendable and unspendable UTXO on RPC listunspent
2018-10-14 15:16:38 +03:00
MarcoFalke
11fef29f9a
[qa] Remove misleading "errorString syntax"
2018-10-14 15:16:28 +03:00
MarcoFalke
0dd0d53057
[qa] wallet: Wait for reindex to catch up
2018-10-14 15:15:23 +03:00
MarcoFalke
7c46b21b6c
[qa] rpc-test: Normalize assert()
2018-10-14 15:14:52 +03:00
MarcoFalke
d560bc44bf
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock
2018-10-14 15:11:51 +03:00
MarcoFalke
33688a8cc5
[qa] wallet: speed up tests
2018-10-14 15:11:42 +03:00
MarcoFalke
1920d99613
[qa] Change default block priority size to 0
2018-10-14 15:11:31 +03:00
ptschip
99c318c13f
Do not download transactions during inital sync
2018-10-14 15:11:16 +03:00
Jonas Schnelli
b2b7ba690f
[QA] add fundrawtransaction test on a locked wallet with empty keypool
2018-10-14 14:26:26 +03:00
Alex Morcos
b790b08280
Add p2p test for feefilter
2018-10-13 15:44:32 +03:00
Alex Morcos
d7aedf4449
Create SingleNodeConnCB class for RPC tests
2018-10-13 15:44:22 +03:00
MarcoFalke
d38a84766e
[qa] Use python2/3 syntax
2018-10-13 14:47:23 +03:00
Andrew C
bd5a258e4d
RPC tests for generatetoaddress
...
Adds two RPC tests for the generatetoaddress RPC, one in the wallet, and one when the wallet is disabled.
The wallet RPC Test mines Bitcoin to another node's address and checks that that node has received the Bitcoin.
The RPC test without the wallet mines Bitcoin to an arbitrary address and checks that it works. It then mines to an arbitrary invalid address and checks that that fails.
2018-10-13 14:40:26 +03:00
Suhas Daftuar
5888453de4
Add test for handling of unconnecting headers
2018-10-13 14:06:02 +03:00
Luke Dashjr
fe7cd5b231
qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates
2018-10-13 02:42:39 +03:00
lateminer
b1bb30cb3a
Remove address indexes
2018-10-11 22:02:52 +03:00
Wladimir J. van der Laan
7829900147
test: add ensure_ascii setting to AuthServiceProxy
...
Add a setting ensure_ascii to AuthServiceProxy. This setting,
defaulting to True (backwards compatible),
is passed through to json.dumps. If set to False, non-ASCII characters
>0x80 are not escaped. This is useful for testing server
input processing, as well as slightly more bandwidth friendly in case of
heavy unicode usage.
2018-09-30 19:21:32 +03:00
Wladimir J. van der Laan
78b629251a
test: test utf-8 for labels in wallet
2018-09-30 19:21:24 +03:00
Ricardo Velhote
32f0591954
[RPC] Add an uptime command that displays the amount of time that bitcoind has been running
2018-09-30 18:34:42 +03:00
Pieter Wuille
bba401c693
Report reindexing progress in GUI
2018-01-13 13:10:50 +03:00
Pieter Wuille
2cc8c4ace9
Add -reindex-chainstate that does not rebuild block index
2018-01-13 13:05:41 +03:00
lateminer
ef33662381
Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into build-fixes-0.13
2018-01-12 22:22:52 +03:00
Cory Fields
a2dd1cf86e
build: a few ugly hacks to get the rpc tests working out-of-tree
2018-01-10 22:58:26 +03:00
lateminer
070424672b
Add -respendnotify option, new RPC data, reg tests
...
f2a6c79aa1 (diff-b4d9f378d56095dfaad2a3802d633a39)
2018-01-09 22:41:38 +03:00
MarcoFalke
2b9c31046b
[wallet] rpc: Drop misleading option in importprunedfunds
2018-01-08 21:45:39 +03:00
instagibbs
8bca020397
Added companion removeprunedfunds call.
2018-01-08 21:36:30 +03:00
instagibbs
c37ac7db87
Add importprunedfunds rpc call
2018-01-08 21:36:08 +03:00
MarcoFalke
20a60575fb
[qa] Add getinfo smoke tests and rework versionbits test
2018-01-06 15:26:07 +03:00
MarcoFalke
5c6c445cf4
[rpc] Deprecate getinfo
2018-01-06 15:23:24 +03:00
Jonas Schnelli
621f5f19d9
[RPC] Fix createrawtx sequence number unsigned int parsing
2018-01-06 14:43:52 +03:00