Jonathan "Duke" Leto
d3f0b4269d
Clean up dicebet/dicestatus error handling and add new macro to make things easier
2018-11-07 13:30:29 -08:00
Jonathan "Duke" Leto
0d888fcd32
Add jsindex to z_listreceivedbyaddress to uniquely identify them
2018-11-01 11:16:57 -07:00
Jonathan "Duke" Leto
a510b0f883
Add Hush to dpowassets
2018-09-23 10:49:46 -07:00
Jonathan "Duke" Leto
fde85d291f
Add some helpful error messages for when Diceinit fails
2018-08-30 10:56:06 +02:00
Jonathan "Duke" Leto
8200435363
Validate plan name in dicebet
2018-08-27 00:57:29 +02:00
Jonathan "Duke" Leto
124819cef5
Lots of error checking improvements and more passing tests
2018-08-27 00:55:53 +02: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
c56b391b54
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-24 17:46:51 +02:00
Jonathan "Duke" Leto
d90c7309e6
Better errors from diceinfo
2018-08-24 17:46:36 +02:00
Jonathan "Duke" Leto
b918152f30
Return more dicecalc errors in json response
2018-08-24 06:45:11 +02:00
Jonathan "Duke" Leto
0b3fb56593
Bubble up some more errors in dicestatus json responses
2018-08-24 06:21:55 +02:00
Jonathan "Duke" Leto
5dcef2eae0
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-24 02:24:36 +02:00
Jonathan "Duke" Leto
798686cb3c
Fix up
2018-08-24 00:32:18 +02: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
505634eeae
Pass various internal dice errors back in JSON response
2018-08-22 17:07:04 +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
47a5268bd4
Prevent useless prints in regtest
2018-08-22 09:49:55 +02:00
Jonathan "Duke" Leto
feff708dbe
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-22 09:26:53 +02:00
Jonathan "Duke" Leto
a03146b340
Lots more error checking in rewards and dice
2018-08-22 09:26:37 +02:00
Jonathan "Duke" Leto
e4f4e63bf5
Merge remote-tracking branch 'origin/jl777' into cctests
...
Tests failing right now due to change in behavior:
CC Eval EVAL_FAUCET Invalid: faucet is only for brand new addresses
2018-08-16 17:40:57 +02: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
8d42405dda
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-13 16:25:19 +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
012613d7ac
Undo this, it should be on a diff branch
2018-08-11 19:24:19 +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
2f1319dcfc
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-11 16:47: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
03fb3946a1
Fix various return values which should be std::string
2018-08-11 07:18:31 +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
b5d4eaf3ab
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-10 23:45:24 +02:00
Jonathan "Duke" Leto
ae55065235
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-10 19:55:24 +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
4adca0ce76
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-10 09:26:22 +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
200d60b17f
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-10 08:04:42 +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
ae7e9b7263
Merge remote-tracking branch 'origin/jl777' into cctests
2018-08-09 23:38:49 +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
Jonathan "Duke" Leto
25709e3078
These %lli/%li formats are platform-dependent
2018-08-06 22:50:38 +02:00
Jonathan "Duke" Leto
6358342934
debug valid pubkey error
2018-08-06 10:59:33 -07: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
8e5de27a67
Fix some compile issues on os x
2018-08-05 23:53:07 -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
1008b2b48c
Update Github issue template
2018-08-05 22:08:10 -07:00
Jonathan "Duke" Leto
563329ab20
Add new test file
2018-08-05 22:04:24 -07:00
Jonathan "Duke" Leto
61f7f5dfce
Docs for coinsupply RPC and improved error-checking on block height
2018-07-30 23:31:45 -07:00
Jonathan "Duke" Leto
e9ca010084
Correctly parse optional top parameter to getsnapshot
2018-07-25 22:36:51 -07:00
Jonathan "Duke" Leto
66d08a3640
Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous
2018-07-25 21:40:31 -07:00
Jonathan "Duke" Leto
b456e6262b
Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous
2018-07-25 21:33:01 -07:00
Jonathan "Duke" Leto
7246f7f31d
WIP correctly calculate block progress for asset chains
2018-07-15 22:01:35 -07:00
Jonathan "Duke" Leto
97d48e2405
Add missing ZCVIEWING_KEY to base58Prefixes
2018-06-02 22:17:18 -07:00
Jonathan "Duke" Leto
8cf70067ac
Use the KOMODO_MINDIFF_NBITS constant
2018-05-19 10:49:01 -07:00
Jonathan "Duke" Leto
16df92af59
Use latest Zcash regtest params, could not use the same as Hush because KMD has merged in latest consensus changes from ZEC upstream
2018-05-19 10:45:12 -07:00
Jonathan "Duke" Leto
373afcb499
Use correct regtest genesis block hash
...
komodod now starts up and dies with InvalidChainFound, I think due to
checkpoints:
call komodo_args.(./src/komodod) NOTARY_PUBKEY.()
initialized at 1526749522
finished loading blocks
Assertion failed: (tip), function InvalidChainFound, file main.cpp, line 1942.
2018-05-19 10:05:53 -07:00
Jonathan "Duke" Leto
b78c39beb2
Convert to using CreateGenesisBlock() like Zcash upstream
2018-05-19 08:51:45 -07:00
Jonathan "Duke" Leto
db83a2c0c3
Try Hush regtest params
...
This fails with:
$ ./komodod -regtest
Assertion failed: (consensus.hashGenesisBlock == uint256S("0x0379ff1530af893f2f2e61146db6e900dd828dc8254215b9de23df2dba06664f")), function CRegTestParams, file chainparams.cpp, line 540.
Abort trap: 6 (core dumped)
From https://github.com/MyHush/hush/pull/106/commits/1d8c55ecc297e9d6574d9eeb55d7eebb9546838b
2018-05-19 00:56:25 -07:00
Jonathan "Duke" Leto
cb0e43a8a9
Script to stop all asset chains
2018-04-16 17:17:36 -07:00
Jonathan "Duke" Leto
622c9e4eef
fix
2018-04-12 14:52:33 -07:00
Jonathan "Duke" Leto
f2173f8cf9
Prevent core dumps from invalid maxpairs
2018-04-12 14:24:21 -07:00
Jonathan "Duke" Leto
f08e247d57
jl777 rebased so now we have viewing keys
2018-04-10 00:33:49 -07:00
Jonathan "Duke" Leto
87020d117a
Port bash completion from ZEC 4d6498b900
2018-03-24 08:37:03 -07:00
Jonathan "Duke" Leto
1d7748b190
Port bash completion from ZEC 4d6498b900
2018-03-24 08:32:25 -07:00
Jonathan "Duke" Leto
1785f62bbb
Fix rpc help ports
2018-03-03 20:51:46 -08:00
Jonathan "Duke" Leto
c2b69c7203
Update tor docs some more
2018-03-03 20:47:29 -08:00
Jonathan "Duke" Leto
1799af9604
Fix KMD ports in help output
2018-03-03 20:43:14 -08:00
Jonathan "Duke" Leto
f37f614e24
Update various references from Zcash to KMD
2018-03-03 17:58:57 -08:00
Jonathan "Duke" Leto
589c42c1c1
Make help examples show komodo-cli
2018-03-03 16:51:58 -08:00
Jonathan "Duke" Leto
41572034cb
Fix the port in curl examples shown at the bottom of all RPC method help texts
2018-03-03 16:49:58 -08: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