Commit Graph
763 Commits
Author SHA1 Message Date
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
Jonathan "Duke" Leto eb8f0960e1 Fix some docs and references to bitcoind 2018-08-07 21:23:05 +02:00
Jonathan "Duke" Leto 38a2d0c825 Pass along extra_args correctly to get correct rpc user/pass 2018-08-07 20:57:42 +02:00
Jonathan "Duke" Leto 3528faa711 Use correct rpc user/pass; this only works the second time its run, some kind of timing/caching issue 2018-08-07 20:51:12 +02:00
Jonathan "Duke" Leto 626af0e73e Getting closer, invalid rpc user/pass instead of wrong port 2018-08-07 20:13:32 +02:00
Jonathan "Duke" Leto 5ec4373ca4 More debugging trying to make getblockcount work and not have komodod hang the test 2018-08-07 09:22:40 +02:00
Jonathan "Duke" Leto 32829f6d6f Fix various test suite bugs and create CC AC in our tests 2018-08-07 08:13:18 +02:00
Jonathan "Duke" Leto 467e1047aa Optimize our cc python test; only start 1 node for now 2018-08-06 23:00:47 +02:00
Eirik Ogilvie-Wigley 4e1e91512d Fix assertion and comment 2018-08-06 09:58:40 -06:00
Eirik Ogilvie-Wigley 7929851626 Only include the change field if we have a spending key 2018-08-06 09:58:40 -06:00
Jonathan "Duke" Leto f4cdde0e85 Enable txindex in regtest komodo.confs and update binary in initialize_chain 2018-08-06 08:09:15 -07:00
Jonathan "Duke" Leto 45a4cba477 fix test docs 2018-08-06 00:44:49 -07:00
Jonathan "Duke" Leto 3ccd5a79e5 Look for the correct config file in our tests 2018-08-06 00:43:31 -07:00
Jonathan "Duke" Leto 752791ae3d Add stub test file for cc tests 2018-08-06 00:36:10 -07:00
Jonathan "Duke" Leto 107fe4500a Fix location of kmd binary used in tests 2018-08-05 23:52:51 -07:00
Jonathan "Duke" Leto 563329ab20 Add new test file 2018-08-05 22:04:24 -07:00
Jonathan "Duke" Leto 41ecade012 Fix some typos in rpc-tests readme 2018-08-05 21:51:35 -07:00
Larry Ruane c0aa34a4b2 generalize mininode.py protocol versioning 2018-08-02 20:30:20 -06:00
Homu 066cc9c6c7 Auto merge of #3429 - str4d:3217-sapling-address-creation, r=str4d
Add Sapling support to z_getnewaddress and z_listaddresses

Closes #3217.
2018-08-01 12:01:39 -07:00
Jack Grigg 4aabeebc1f test: Fix permissions of wallet_addresses 2018-08-01 19:56:01 +01:00
Jack Grigg d75e69da5a test: Deduplicate logic in wallet_addresses RPC test 2018-08-01 09:44:31 +01:00
Simon f01c11bd0f Add tests for expiryheight parameter of RPC createrawtransaction. 2018-07-30 10:24:10 -07:00
Jack Grigg eec85c4388 Add Sapling support to z_getnewaddress and z_listaddresses 2018-07-30 16:24:20 +01:00
Larry Ruane cb3a815b29 Add call to sync_all() after (z_sendmany, wait) 2018-07-20 12:00:41 -06:00
Daniel Cousens 4b184205e3 rpc: update inline comments to refer to new file paths 2018-07-18 11:07:17 -06:00
Homu b9bd5ab42c Auto merge of #3354 - leto:absurd_fee_bug, r=bitcartel
Fix absurd fee bug reported in #3281, with tests

This was ported from the Hush `absurd_fee_bug` PR: https://github.com/MyHush/hush/pull/136

Tests executed with `./qa/pull-tester/rpc-tests.sh wallet` and pass on Ubuntu 16.04. Some tests were added for previously untested behavior as well.

Closes #3281.
2018-07-17 15:03:08 -07:00
Simon 0b6eeac330 Update and fix per review comments, the test for absurd fee. 2018-07-17 13:00:42 -07:00
Homu 13b41a6760 Auto merge of #3156 - Eirik0:2935-change-indicator, r=bitcartel
Add change indicator

This adds to the json returned when calling z_listreceivedbyaddress and z_listuspent an additional field entitiled 'change' which will be either true or false depending on whether or not the note was change from another transaction.
2018-07-17 11:41:03 -07:00
Eirik Ogilvie-Wigley 62d707d1fd Fix test broken by change indicator 2018-07-16 14:50:06 -06:00
Eirik Ogilvie-Wigley 0646f749f9 Add change indicator for notes 2018-07-16 14:49:29 -06:00
Asher Dawes e7f4832f79 Asher dev (#88)
Introducing verus-cli tests, adding staging destination.
2018-07-06 15:16:22 -07:00
Homu f649bb36c5 Auto merge of #3303 - LarryRuane:2807-rpc-test-round-fees, r=bitcartel
(rpc-test) accurately account for fee without rounding error

Fix for #2807, this test compares balances after doing key exports and imports, and expects these balances to be equal. But they are not exactly equal due to transaction fees, so the test makes them "equal" by rounding a value that has had fees taken out up to the nearest hundredth of a unit (which is much more than the default fee). This obviously is somewhat sloppy. It also converts a balance to float, which really should never be used due to loss of precision (use Decimal instead).

This change makes the test accurately account for the fee using precise comparisons, and removes the use of float. This test doesn't depend on the default fee (0.0001) but instead sets the fee (to that value). This way, if the default fee changes in the future, this test will continue to run. While testing these changes, I set the fee to various values (up to the max, 0.0190), and the test still passes.
2018-06-22 14:01:48 -07:00
Simon a4ff089b2a Fix pyflakes error in test zkey_import_export. 2018-06-22 11:34:21 -07:00
Duke Leto e5aa9f617b Fix absurd fee bug reported in #3281, with tests 2018-06-22 05:20:45 +00:00
Homu 4e3ff06507 Auto merge of #3320 - str4d:macos-tests, r=bitcartel
Fix MacOS tests

Includes code cherry-picked from upstream PR bitcoin/bitcoin#8270.
2018-06-18 19:00:56 -07:00