Commit Graph

797 Commits

Author SHA1 Message Date
Jack Grigg
b7f9a7ae02 wallet: Comment out HDSeed and CHDChain persistence to disk
Sapling keys generated from the seed are not yet persisted, so we don't
want to persist the seed or chain state either, otherwise the wallet
could end up in an inconsistent state.

Some tests are temporarily disabled because commenting out HDSeed
persistence breaks invariants inside CCryptoKeyStore.

Revert this commit during the PR for #3388.
2018-09-03 10:45:37 +01:00
Jack Grigg
af04224522 Fix file permissions of wallet_sapling RPC test 2018-09-03 08:27:33 +01:00
Jack Grigg
0f436a0a26 Fix RPC test that checks exact wording of cleaned-up error message 2018-09-03 08:23:09 +01:00
Anton Lysakov
624aa78700 Added more rewards CC tests 2018-09-01 15:01:53 +07:00
Anton Lysakov
de6be280c4 Deleted test duplicate 2018-08-28 17:58:14 +07:00
Anton Lysakov
aa54d54529 Described tokename dicename length limits 2018-08-28 17:48:47 +07:00
Anton Lysakov
881869c081 fixed local merge disorder 2018-08-28 17:37:31 +07:00
Anton Lysakov
6bd0c10acb More Dice CC tests 2018-08-28 17:32:59 +07:00
jl777
bca43f0215 Merge pull request #850 from jl777/dev
Dev
2018-08-27 09:36:28 -11:00
Jack Grigg
e54c4d2ca1 rpcwallet: Add Sapling support to z_sendmany 2018-08-27 11:36:14 +01:00
Jonathan "Duke" Leto
124819cef5 Lots of error checking improvements and more passing tests 2018-08-27 00:55:53 +02:00
jl777
d0102c55fa Merge branch 'master' into beta 2018-08-24 09:00:53 -11:00
Jonathan "Duke" Leto
d6635db93a Test for new behavior for faucets 2018-08-24 18:34:19 +02:00
Jonathan "Duke" Leto
ade19d82a5 Grab changes from TonyL 2018-08-24 17:50:49 +02:00
Jonathan "Duke" Leto
d90c7309e6 Better errors from diceinfo 2018-08-24 17:46:36 +02:00
jl777
292ca01f22 Merge branch 'master' into master 2018-08-24 00:43:24 -11:00
Jonathan "Duke" Leto
798686cb3c Fix up 2018-08-24 00:32:18 +02:00
Anton Lysakov
1c1efa160b more TokenCC tests
(cherry picked from commit f3b2377d34bb03bae58a558c5beff4bb3b9e37dc)
2018-08-24 04:44:41 +07:00
Jonathan "Duke" Leto
e4452dc2dd Get tests passing again, by changing our test to check for an exception, which is the new behavior 2018-08-23 04:22:11 +02:00
Jonathan "Duke" Leto
b8245a9397 enable cross chain CC stuff in tests 2018-08-22 10:11:05 +02:00
Jonathan "Duke" Leto
df09c378ca Fix a test 2018-08-22 09:50:06 +02:00
Jonathan "Duke" Leto
a03146b340 Lots more error checking in rewards and dice 2018-08-22 09:26:37 +02:00
Homu
622751da12 Auto merge of #3444 - LarryRuane:2982-mininode-version, r=str4d
generalize mininode.py protocol versioning

Fixes #2982 -- replace `overwintered` boolean argument to NodeConn constructor with a protocol version integer, so that adding Sapling (and beyond) will be easier.
2018-08-20 09:48:51 -07:00
Jonathan "Duke" Leto
8a3e1884d6 More token tests and more error checking and better errors from internals 2018-08-16 17:17:54 +02:00
Jonathan "Duke" Leto
8e0ff2b732 Test refactoring, more tests, and lots of error checking improvements and uint64_t fixes 2018-08-15 23:24:59 +02:00
Jonathan "Duke" Leto
ef44dd00e1 more rewards tests 2018-08-15 10:21:59 +02:00
Jonathan "Duke" Leto
66027c0219 Add rewards tests 2018-08-13 09:55:17 +02:00
Jonathan "Duke" Leto
84b40e08a2 Start adding tests for rewardsunlock 2018-08-12 20:31:45 +02:00
Jonathan "Duke" Leto
941619eb46 Make the REGTEST AC special in our test suite, so we get a predictable rpc port number 2018-08-11 19:14:51 +02:00
Jonathan "Duke" Leto
88e714577b More rewards tests 2018-08-11 16:47:24 +02:00
Jonathan "Duke" Leto
15b76bd76a More rewards tests 2018-08-11 08:58:56 +02:00
Jonathan "Duke" Leto
efa644f28e Add some rewards tests 2018-08-11 08:21:32 +02:00
Jonathan "Duke" Leto
f1084b8898 Refactor faucet/rewards/dice/token tests into their own functions 2018-08-11 00:34:38 +02:00
Jonathan "Duke" Leto
9b30af9799 Fix bug in FaucetGet where it returns an int instead of a string 2018-08-10 18:10:21 +02:00
Jonathan "Duke" Leto
ba0f55ac2f Add tests for tokencreate and rewardsaddress 2018-08-10 10:46:07 +02:00
Jonathan "Duke" Leto
a6a826c625 Add more tests, fails sometimes still due to bad-txns-inputs-duplicate 2018-08-10 09:23:04 +02:00
Jonathan "Duke" Leto
7b9e2b3c60 faucetget tests 2018-08-10 08:40:28 +02:00
Jonathan "Duke" Leto
fe6882f14c More faucet tests, currently sendrawtransaction failing with bad-txns-inputs-duplicate 2018-08-10 08:04:34 +02:00
Jonathan "Duke" Leto
2098a4c9bb Disallow negative funding in faucetfund 2018-08-09 23:37:38 +02:00
Jonathan "Duke" Leto
700c1fcfc3 Improve error checking on funds argument to faucetfund 2018-08-09 22:54:23 +02:00
Jonathan "Duke" Leto
de3a68db84 add more tests for faucetfund edge cases 2018-08-09 22:52:29 +02:00
Jonathan "Duke" Leto
1399f859e0 Mine more blocks to ensure a mature balance 2018-08-09 08:53:24 +02:00
Jonathan "Duke" Leto
77373514f5 Add dicelist test; dicefund/tokeninfo tests need to be funded to work correctly 2018-08-08 09:25:47 +02:00
Jonathan "Duke" Leto
776fb6cd62 Add tests for tokenorders and tokenbalance 2018-08-08 09:11:33 +02:00
Jonathan "Duke" Leto
8567b4386b Add a test for tokenlist 2018-08-08 07:25:52 +02:00
Jonathan "Duke" Leto
7b6e9bf069 More faucet and token tests 2018-08-07 23:34:50 +02:00
Jonathan "Duke" Leto
380bcb10ba Add some dice tests 2018-08-07 21:50:54 +02:00
Jonathan "Duke" Leto
d48c67574f Improve faucetaddress tests 2018-08-07 21:45:32 +02:00
Jonathan "Duke" Leto
8d454fb58e Sleep a bit to give time for regtest komodod to start 2018-08-07 21:32:56 +02:00
Jonathan "Duke" Leto
dcc6cdb083 Remove reference to REGTEST.conf in start_node which all tests use, not just CC tests. it is passed via extra_args 2018-08-07 21:24:33 +02:00