Commit Graph

545 Commits

Author SHA1 Message Date
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
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
Scott Grayson
0c4f43951e Merge branch 'dev' of https://github.com/jl777/komodo into trunk-merge
* 'dev' of https://github.com/jl777/komodo: (1062 commits)
  Delay PoW check until connect block
  Declare
  KOMODO_NEWBLOCKS
  Prevent autorewind if syncing. Not a critical update
  Change n0/n1 size to int32_t
  Syntax
  Fix n -> static n0/n1
  Test
  Test
  Test
  KOMODO_LONGESTCHAIN = height;
  Sync main.cpp to jl777
  -print
  -USD/EUR
  readme
  curl fix
  -print
  Fix buffer overflows and reduce KMD men usage
  -print
  Test
  ...
2018-04-15 21:59:37 -04:00
Brad Miller
98a4f6a656 Implement note locking for z_mergetoaddress
Co-authored-by: Eirik Ogilvie-Wigley <eirik@z.cash>
2018-04-10 00:44:39 -07:00
Jack Grigg
70420ff34f Test calling z_mergetoaddress to merge notes while a note merge is ongoing 2018-04-10 00:44:26 -07:00
Jack Grigg
67b849d7d4 Fix z_importviewingkey startHeight parameter
Closes #2937.
2018-04-10 00:39:52 -07:00
TheTrunk
8b78a8199e Bitcore port 2018-03-27 13:34:52 +02:00
Homu
64de921747 Auto merge of #3091 - bitcartel:cache_invalidation_qa, r=str4d
Closes #1988. Add qa test for cache invalidation bug found in v1.0.0 to v1.0.3.
2018-03-20 11:28:08 -07:00
Homu
70e2522306 Auto merge of #3090 - bitcartel:3084_log_expired_txid, r=bitcartel
Closes #3084.  Log txid when removing expired transactions from mempool.
2018-03-19 14:59:30 -07: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
a510b4752d Enable mempool logging in tx expiry QA test. 2018-03-16 11:45:45 -07: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
Jonathan "Duke" Leto
4db8717431 Fix outdated comment about starting balance of nodes 2018-02-28 14:29:05 -08:00
Jonathan "Duke" Leto
48cecf2ad9 Regtest mining does have a founders reward, a single address t2FwcEhFdNXuFMv1tcYwaBJtYVtMj8b1uTg 2018-02-28 14:28:22 -08:00
Jonathan "Duke" Leto
62fee1296f Update awkward wording about blocks as per @daira 2018-02-28 14:17:28 -08:00
Jonathan "Duke" Leto
d8399efc03 This library seems to not be used at all and all comments mentioning it are ghosts 2018-02-28 14:13:07 -08:00
Jonathan "Duke" Leto
427e5fae3f Fix references to Bitcoin in RPC tests readme 2018-02-26 10:47:59 -08:00
Homu
a418756ef4 Auto merge of #2874 - arcalinea:tx_block_expiry, r=arcalinea
Transaction expiry height

Implements ZIP 203.

- Only applies after Overwinter blockheight.

Closes #754.
2018-02-23 18:37:48 -08:00
Simon
b6e5cc7d27 Add python qa test overwinter_peer_management. 2018-02-23 14:22:43 -08:00
Jay Graber
5943f227da Add mempool_tx_expiry.py test 2018-02-23 00:12:10 -08:00
Homu
c5904fb2a4 Auto merge of #2797 - str4d:2493-active-merging, r=bitcartel
Implement z_mergetoaddress for combining UTXOs and notes

Closes #2493.
2018-02-22 20:59:51 -08:00
Jack Grigg
15ced9b153 wallet_mergetoaddress: Add additional syncs to prevent race conditions 2018-02-23 04:28:04 +00:00
Simon
e6cd2a8356 Closes #2964. z_sendmany once again makes v1 tx for taddr to taddr.
In accordance with the Zcash protocol spec.
2018-02-22 15:43:42 +00:00
Jack Grigg
4c3d2b3bbe Check upgrade status in wallet_overwintertx RPC test 2018-02-22 13:44:40 +00:00
Jack Grigg
553a5c1ab2 Gate z_mergetoaddress as an experimental feature 2018-02-22 13:23:25 +00:00
Jack Grigg
6e9c7629af Implement z_mergetoaddress for combining UTXOs and notes
Closes #2493.
2018-02-22 13:23:18 +00:00
Jack Grigg
ed9aa2b62a Add branch IDs for current and next block to getblockchaininfo
Closes #2974.
2018-02-21 21:18:03 +00:00
Homu
d4d2844829 Auto merge of #2463 - str4d:713-rollback-limit, r=str4d
Implement roll-back limit for reorganisation

Part of  #2905. Closes #713.
2018-02-20 15:17:22 -08:00
Jack Grigg
818b94f94f Make number of inputs configurable in validatelargetx test 2018-02-20 04:22:22 +00:00
Homu
49274558c6 Auto merge of #2940 - str4d:nu-activation-mempool-expiry, r=str4d
Mempool improvements, branch ID awareness

Whenever the local chain tip is updated, transactions in the mempool which commit to an
unmineable branch ID (for example, just before a network upgrade activates, where the
next block will have a different branch ID) will be removed.

Includes commits cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6654
  - Only the mempool index change.
- bitcoin/bitcoin#6776
- bitcoin/bitcoin#7020
- bitcoin/bitcoin#6915

Part of #2074.
2018-02-19 19:00:30 -08:00