Commit Graph

17214 Commits

Author SHA1 Message Date
Scott Sadler
aaff5dd10c explicitly disable replacementpool if cryptoconditions is not enabled 2018-03-17 15:13:10 -03:00
Scott Sadler
83b8f972f2 Merge remote-tracking branch 'jl777/dev' into cryptoconditions 2018-03-16 23:03:27 -03:00
Simon
b740a99079 Remove local function wait_and_assert_operationid_status which is
now defined in the test framework for shared usage.
2018-03-16 17:16:22 -07:00
Simon
2f761371d2 Add qa test for cache invalidation bug found in v1.0.0 to v1.0.3. 2018-03-16 15:18:34 -07:00
Simon
eb13862667 Closes #3084. Log txid when removing expired txs from mempool. 2018-03-16 11:46:39 -07:00
Simon
a510b4752d Enable mempool logging in tx expiry QA test. 2018-03-16 11:45:45 -07:00
Homu
01c31ec57f Auto merge of #3069 - braddmiller:3034-disable-auto-dep, r=daira
Disable auto-deprecation on regtest and testnet

Prevents auto-senescence based on @str4d's recommendation to early return out of `EnforceNodeDeprecation` if net is not `main`.

Closes #2876.

Co-authored-by: Marshall Gaucher <marshall@z.cash>
2018-03-15 18:45:15 -07:00
Homu
bc8221da81 Auto merge of #3089 - kozyilmaz:clang, r=str4d
[macOS] Fix test/gtest bugs caught by latest clang

Tests fail with latest clang on macOS (clang-900.0.39.2)

```
test/rpc_wallet_tests.cpp:1064:26: error: implicit conversion from 'double' to 'CAmount' (aka 'long long') changes value from 123.456 to 123 [-Werror,-Wliteral-conversion]
test/rpc_wallet_tests.cpp:1071:18: error: implicit conversion from 'double' to 'CAmount' (aka 'long long') changes value from 1.111 to 1 [-Werror,-Wliteral-conversion]
gtest/test_deprecation.cpp:28:1: error: control reaches end of non-void function [-Werror,-Wreturn-type]
```

Part of #2246.
2018-03-15 17:21:23 -07:00
jl777
5298d41fae Make sure pindexWalk is non-null 2018-03-14 21:33:11 +02:00
Homu
5abe4e6348 Auto merge of #3079 - daira:pyflakes-cleanup, r=str4d
pyflakes cleanups to RPC tests after Overwinter PRs.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2018-03-13 07:57:07 -07:00
Jack Grigg
132a255000 Add link to Overwinter info page 2018-03-13 00:47:10 +00:00
Scott Sadler
91fe980a98 fix cryptoconditions qa 2018-03-12 18:22:38 -03:00
Scott Sadler
c6fa342bd6 no more cryptoconditions submodule 2018-03-12 17:57:18 -03:00
Scott Sadler
76b5216cf6 remove cryptoconditions submodule 2018-03-12 17:54:30 -03:00
Scott Sadler
bd7ecdec06 fix build, allow 0 priority 2018-03-12 17:27:50 -03:00
Daira Hopwood
b4353db5d6 pyflakes cleanups to RPC tests after Overwinter PRs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2018-03-12 14:15:25 +00:00
Scott Sadler
a8acafb354 test suite for replacementPool 2018-03-12 01:57:35 -03:00
Scott Sadler
346eb4ae25 small refactor 2018-03-09 09:40:31 -03:00
Jack Grigg
a6ae8f55ae Split declaration and definition of SPROUT_BRANCH_ID constant
Fixes an initialization-order-fiasco error detected by ASan:
https://ci.z.cash/#/builders/7/builds/149
2018-03-09 09:42:20 +00:00
Scott Sadler
1fe68cf52a process orphan transactions after processing replacements 2018-03-08 23:01:00 -03:00
jl777
137a67c987 Merge pull request #537 from jl777/dev
Dev
2018-03-08 22:46:51 +02:00
Scott Sadler
e102037e61 cleanup transaction replacement return codes 2018-03-08 16:35:39 -03:00
Scott Sadler
2b2c75de29 basic implementation of transaction replacement. requires cleanup and testing 2018-03-08 15:15:01 -03:00
Scott Sadler
b21d2e0f9d gitignore binaries 2018-03-08 13:08:37 -03:00
jl777
80c9f9983c Merge pull request #536 from jl777/oot
OOT coin s01e01
2018-03-08 18:03:01 +02:00
Mihail Fedorov
14a73f0388 OOT coin 2018-03-08 19:00:32 +03:00
Homu
d88a12262c Auto merge of #3050 - bitcartel:cleanup_define_X, r=daira
Code clean up. Remove use of X macro.

Closes #3049
2018-03-08 03:19:29 -08:00
jl777
bc61f3a7a3 Merge pull request #535 from jl777/dev
Dev
2018-03-08 11:19:21 +02:00
jl777
8bf7255043 Merge pull request #534 from jl777/jl777
Jl777
2018-03-08 11:18:38 +02:00
jl777
f233f9b156 Revert 2018-03-08 05:46:26 +02:00
jl777
ca65f7ab1e Test 2018-03-08 05:40:10 +02:00
jl777
b9ed58da29 Merge pull request #533 from jl777/jl777
Change IsInitialBlockDownload for asset chains to match KMD
2018-03-08 05:31:17 +02:00
jl777
1931844a9c Change IsInitialBlockDownload for asset chains to match KMD 2018-03-08 05:30:26 +02:00
jl777
34a077d8a3 Merge pull request #532 from jl777/jl777
Jl777
2018-03-08 03:21:24 +02:00
jl777
4e0d20786b Test 2018-03-08 02:37:17 +02:00
jl777
6dc496fb3d Test 2018-03-08 01:47:56 +02:00
jl777
2c5af2cd09 -print 2018-03-08 01:47:06 +02:00
jl777
a36a3726cf Mark failed blocks due to changed state 2018-03-08 01:28:39 +02:00
jl777
3ecbf90134 Test already existing block 2018-03-08 01:15:08 +02:00
jl777
beb911ecb4 Prints 2018-03-08 00:30:41 +02:00
jl777
cc07ad72d7 Test 2018-03-07 20:50:07 +02:00
jl777
e2c2f297d1 Accept pre-notarization block that matches 2018-03-07 20:32:08 +02:00
Brad Miller
e882e3c06f Clean up 2018-03-07 09:33:55 -07:00
jl777
63998b6634 revert 2018-03-07 00:58:36 +02:00
jl777
17abd35a71 Dont write rpcport into .conf 2018-03-07 00:57:48 +02:00
Homu
b3a656cf53 Auto merge of #3048 - str4d:analysis-tools, r=str4d
Add configure flags for enabling ASan/UBSan and TSan

Also adds an environment variable for setting configure flags in `./zcutil/build.sh`.
2018-03-06 11:53:43 -08:00
Homu
99d9e1483f Auto merge of #2987 - leto:rpc-readme, r=bitcartel
Fix references to Bitcoin in RPC tests readme

This is a vintage documentation bug, which I just fixed in Hush as well.
2018-03-05 15:22:36 -08:00
Simon
7e9d662ef6 Code clean up. Remove use of X macro. 2018-03-05 15:00:33 -08:00
Homu
796ea3815e Auto merge of #2965 - rofl0r:patch-1, r=str4d
fix build error due to usage of obsolete boost_system-mt

closes #2304 for real
2018-03-05 06:25:56 -08:00
jl777
2d731fb2d8 Merge pull request #531 from jl777/jl777
Jl777
2018-03-05 10:24:02 +02:00