Scott Sadler
2b2c75de29
basic implementation of transaction replacement. requires cleanup and testing
6 years ago
Scott Sadler
28658719ea
tweak hoek interface
6 years ago
Scott Sadler
7d937f290e
add secp256k1 condition type to cryptoconditions
6 years ago
Scott Sadler
46d1bcc607
integration test for complex aux condition
6 years ago
Scott Sadler
db2df2c37b
integration test for basic aux condition
6 years ago
libscott
ccb128503e
Update README.md
6 years ago
Scott Sadler
f5cf215f71
extra tests for failure modes and remove CRYPTOCONDITION_OVERSIZE error state
6 years ago
Scott Sadler
456c9e72fd
simplify CC tests
6 years ago
Scott Sadler
82e6c35430
test with invalid crypto-condition fulfillment
6 years ago
Scott Sadler
d17b8ec6a2
use a fanout tx to create inputs
6 years ago
libscott
a236c673fe
Update cryptoconditions test suite README
6 years ago
Scott Sadler
4f0da23b91
integration test for hoek and komodod with -ac_cc
6 years ago
Scott Sadler
33c35a949d
remove test file that shoudnt be there
6 years ago
Scott Sadler
6585a02268
cli method to create CC transaction
7 years ago
Wladimir J. van der Laan
f3e1770cfb
tests: Disable Tor interaction
This is unnecessary during the current tests (any test for Tor
interaction can explicitly enable it) and interferes with the proxy
test.
9 years ago
Jack Grigg
47855b599d
Revert "Revert "rpc-tests: re-enable rpc-tests for Windows""
This reverts commit 7fd5d4e30e
.
We need to un-revert this before pulling in
https://github.com/bitcoin/bitcoin/pull/6616
7 years ago
Wladimir J. van der Laan
e93a3e1945
test: Avoid ConnectionResetErrors during RPC tests
This is necessary on FreeBSD and MacOSX, at least.
See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
8 years ago
Pieter Wuille
2edad86b2d
Fix interrupted HTTP RPC connection workaround for Python 3.5+
8 years ago
Jack Grigg
53c96bfa6c
Test boolean fallback in z_importkey
7 years ago
Wladimir J. van der Laan
7b41e725d0
Make RPC tests cope with server-side timeout between requests
Python's httplib does not graciously handle disconnections from the http server, resulting in BadStatusLine errors.
See https://bugs.python.org/issue3566 "httplib persistent connections violate MUST in RFC2616 sec 8.1.4."
This was fixed in Python 3.5.
Work around it for now.
9 years ago
Wladimir J. van der Laan
7fd5d4e30e
Revert "rpc-tests: re-enable rpc-tests for Windows"
This reverts commit bd30c3dced21fca869a14c75081f15195762afe1.
Disable windows RPC tests for now. These should be re-enabled once a
suitable Wine version is used on Travis.
9 years ago
Wladimir J. van der Laan
cc14ac45f4
tests: GET requests cannot have request body, use POST in rest.py
Sending a request body with GET request is not valid in HTTP spec, and
not compatible with evhttpd.
9 years ago
Wladimir J. van der Laan
14dcc6ab96
qa: Remove -rpckeepalive tests from httpbasics
This option was a temporary workaround, and is no longer necessary
with the new web server.
10 years ago
Jack Grigg
bec25c91cb
Revert "Closes #1680 , temporary fix for rpc deadlock inherited from upstream."
This reverts commit f4404d7b5b
.
7 years ago
Jack Grigg
b7e5b7d5ee
Simplify z_importkey by making rescan a string
Transparently handles older boolean values as well.
7 years ago
Jack Grigg
a31ba7a0cb
Usability improvements for z_importkey
- Add height parameter to z_importkey to reduce rescan range
- Change semantics of rescan parameter, so users can explicitly force a rescan
for existing keys.
Closes #2032
8 years ago
Jack Grigg
542a7a40f1
Add tests for getmempoolinfo
7 years ago
Pavel Janík
30c163d99d
Implement REST mempool API, add test and documentation.
9 years ago
Casey Rodarmor
df8f8095b6
Don't share objects between TestInstances
9 years ago
Wladimir J. van der Laan
7cc6648341
tests: Extend RPC proxy tests
Also test -noonion
9 years ago
Jack Grigg
25b8f796ff
Re-encode t-addrs in disablewallet.py with Zcash prefixes
7 years ago
Jack Grigg
5329495fe4
Adjust fundrawtransaction RPC test for Zcash
- Enable wallet encryption
- Correct block reward
7 years ago
Wladimir J. van der Laan
56215c77d8
Fix crash in validateaddress with -disablewallet
Fix a null pointer dereference in validateaddress with -disablewallet. Also add a regression testcase.
9 years ago
Jonas Schnelli
c2616abb3c
[QA] add testcases for parsing strings as values
9 years ago
Wladimir J. van der Laan
d101d7b8e6
univalue: Avoid unnecessary roundtrip through double for numbers
JSON makes no distinction between numbers and reals, and our code
doesn't need to do so either.
This removes VREAL, as well as its specific post-processing in
`UniValue::write`. Non-monetary amounts do not need to be forcibly
formatted with 8 decimals, so the extra roundtrip was unnecessary
(and potentially loses precision).
Zcash: cherry-picked from commit 7650449a6777710cf818d41862626164da0cd412
Left over from 2aee461930
9 years ago
zathras-crypto
a11c4bbd26
Exempt unspendable transaction outputs from dust checks
Since unspendable outputs can't be spent, there is no threshold at which it would be uneconomic to spend them.
This primarily targets transaction outputs with `OP_RETURN`.
---
Initially based on:
commit 9cf0ae26350033d43d5dd3c95054c0d1b1641eda
Author: zathras-crypto <zathrasc@gmail.com>
Date: Wed Mar 25 02:04:02 2015 -0700
Changes:
- cherry-picked on top of bitcoin:master
- added RPC test for fundrawtransaction
9 years ago
Jonas Schnelli
5bfd954fc6
[QA] remove rawtransactions.py from the extended test list
rawtransactions.py is already in the standard test list
9 years ago
Jonas Schnelli
897a370c39
[QA] fix possible reorg issue in rawtransaction.py/fundrawtransaction.py RPC test
- added missing mempool sync between block generations
9 years ago
Jonas Schnelli
81eb80d841
[REST] add JSON support for /rest/headers/
10 years ago
mruddy
81ae51c883
add tests for the decodescript rpc. add mention of the rpc regression tests to the testing seciton of the main readme.
9 years ago
Wladimir J. van der Laan
bf890b6518
test: Move reindex test to standard tests
This test finishes very quickly, so it should be part of the default set
of tests in rpc-tests.
9 years ago
Jonas Schnelli
788d8e6a6f
fundrawtransaction tests
9 years ago
Jonas Schnelli
2ab237a088
add RPC tests for setban & disconnectnode
9 years ago
Jonas Schnelli
e521939942
[RPC] extend setban to allow subnets
9 years ago
Jonas Schnelli
962ec4b5e4
[QA] add setban/listbanned/clearbanned tests
9 years ago
Stephen
6699b42518
Add paytxfee to getwalletinfo, warnings to getnetworkinfo
9 years ago
Simon
85c9ecb846
Part of #1969 . Update tests to avoid error 'absurdly high fee' from change in min fee calc.
7 years ago
Simon
ebe750a882
Part of #1969 . Changing min fee calculation also changes the dust threshold.
7 years ago
Jay Graber
8d2dac6e3f
Inc num of txs in test mempool
7 years ago
Jay Graber
cc64e2ccc8
Add rpc test for prioritisetransaction
8 years ago