Commit Graph

759 Commits

Author SHA1 Message Date
smk762
ebcbb234a8 Update cryptoconditions_channels.py 2019-03-25 20:00:54 +08:00
smk762
c386669e65 update rpc-cc scripts for address keys 2019-03-25 12:56:01 +01:00
smk762
7fbcfc27e3 Update cryptoconditions.py
update keys, remove failing tokens tests (no tokenid)
2019-03-23 15:29:23 +08:00
Anton "TonyL" Lysakov
a6e030004f Fixed CCs RPC tests (#1314)
* updated diceaddress rpc keys, added prints for diceaddress key / value

        # removed Dicemarker
        # fixed DiceCCaddress spelling to DiceCCAddress
        # NOTE myaddress/myAddress is duplicated
        # added DiceCCTokensAddress DiceNormalAddress
        # removed CCaddress

* Updated keys for faucetaddress

* Update cryptoconditions_oracles.py

Updated address keys.

* update test-rpc keys

* fixed rewards test

* fixed channels tests

* fixed tokenCC tests
2019-03-06 02:30:20 -11:00
jl777
58cd849591 Jl777 (#1311)
* Remove voutsum check

* Teach RPC interface about dpow-enabled minconfs (#1231)

* Make minconfs dpow-aware in z_listunspent + z_listreceivedbyaddress

* Add dpow-related test files to test suite

* Add dpow simulation to regtest every 7 blocks

* Fix compiler errors

* Fix link error

* Fix stdout spam when running regtests

* Dpowminconfs for listreceivedbyaddress

* dpowconfs tests

* Start adding specific tests for dpowminconfs in listreceivedbyaddress

* Get dpowminconfs tests for listreceivedbyaddress working

* Add dpowminconfs to getreceivedbyaddress + listunspent

* Add test for listtransactions + getreceivedbyaddress support

* Reliably passing dpowminconf tests. We only check for notarized-ness now, not exact confirmation numbers, to avoid race conditions

* Poll for the expected notarization info before running further tests; add support for getbalance

* Migrate tx_height() to a place where asyncrpcoperation_sendmany.cpp can use it

* fix

* Teach GetFilteredNotes about dpowconfs

Many RPCs rely on this internal function, which now correctly uses
dpowconfs to filter by the minconf/maxconf parameters.

* Fix sendmany when using non-default minconf

* inline seems to make things happy

* cleanup

* Add some code to test z_sendmany, which points out https://github.com/jl777/komodo/issues/1247

* try this

* Use already calculated value of dpowconfs instead of calculating it again

* Cleanup .pack file

* Remove

* Remove .pack
2019-03-03 21:42:12 -11:00
jl777
77dba8ffe9 Merge pull request #1219 from tonymorony/FSM
Adjusted heir tests for heirCC JSON changes and added heirfund tokens case check
2019-01-28 02:18:42 -11:00
Anton Lysakov
7bd8f456c3 tests adjusted for heirCC json enhancement 2019-01-28 00:03:25 +07:00
Anton Lysakov
dc510cdde4 checking channelsaddress 2019-01-27 03:32:24 +07:00
Anton Lysakov
45d35fb971 actualize comment 2019-01-27 03:21:16 +07:00
Anton Lysakov
6901ed6266 Merge branch 'FSM' of https://github.com/tonymorony/komodo into FSM 2019-01-27 03:17:32 +07:00
Anton Lysakov
d963a55cc8 added valid tokens heir case 2019-01-27 03:16:53 +07:00
jl777
0097d0c870 Merge pull request #1200 from tonymorony/FSM
initial heir tests
2019-01-24 02:15:15 -11:00
Anton Lysakov
87a12db2d1 Omg 2019-01-24 20:11:42 +07:00
Anton Lysakov
3c1e3aede1 initial heir tests 2019-01-24 19:55:55 +07:00
jl777
b6753dc647 Merge pull request #1194 from tonymorony/FSM
More tests for channels and tokens
2019-01-21 22:54:33 -11:00
Anton Lysakov
3f64474f85 more channels tests 2019-01-22 15:03:52 +07:00
Anton Lysakov
e9083421a8 checking channelspayment case when opening node revealed secret in offline 2019-01-21 22:00:35 +07:00
Anton Lysakov
e2bce726fa bid/ask cancellation from node which not placed order 2019-01-20 15:08:42 +07:00
jl777
d13264a169 Merge pull request #1185 from tonymorony/FSM
fixed existing token tests
2019-01-18 00:02:41 -11:00
Anton Lysakov
5a4fd8b15e fixed token tests 2019-01-18 17:56:59 +07:00
jl777
6e92159a57 Merge pull request #1177 from tonymorony/FSM
oracles autotests passing now
2019-01-11 21:33:31 -11:00
Anton Lysakov
9392a2b9ec oracles autotests fixed 2019-01-12 15:27:17 +07:00
jl777
569d960832 Merge pull request #1122 from tonymorony/FSM
Made CC tests pass
2018-12-25 05:14:51 -11:00
Anton Lysakov
07555bf237 temporary disabled gateways tests 2018-12-25 20:05:24 +06:00
Anton Lysakov
2e9bcdc6b8 adjusted channels tests for new RPC call 2018-12-25 20:00:29 +06:00
jl777
655ef3c8ae Merge pull request #1078 from tonymorony/FSM
CC tests refactor
2018-12-14 10:31:20 -11:00
Anton Lysakov
69a3c68365 small CC tests refactor 2018-12-15 03:24:07 +06:00
jl777
a1fbf3361d Merge pull request #1077 from tonymorony/FSM
Separated cryptoconditions tests execution by cc-test.sh
2018-12-14 07:09:19 -11:00
Anton Lysakov
5e182b2056 splitted cryptoconditions tests and made it pass 2018-12-14 23:58:58 +06:00
Anton Lysakov
8584b6d23a separated CC tests execution 2018-12-14 19:05:45 +06:00
jl777
765c44a86c Merge pull request #1071 from tonymorony/FSM
Initial gateways test (gateway creation)
2018-12-13 06:27:12 -11:00
Anton Lysakov
9283364725 initil gateways test (gateway creation) 2018-12-13 22:11:47 +06:00
jl777
0eaea97eeb Merge pull request #1068 from tonymorony/FSM
initial tests for ChannelsCC
2018-12-13 02:09:46 -11:00
Anton Lysakov
6e15b6fbd6 initial tests for ChannelsCC 2018-12-13 19:04:52 +06:00
jl777
83d4ca0697 Merge pull request #1020 from tonymorony/FSM
added tests for oracles data publishing
2018-12-05 04:46:18 -11:00
Anton Lysakov
3a4366bef4 added tests for oracles data publishing 2018-12-05 21:42:02 +06:00
jl777
8c939c1af5 https://github.com/zcash/zcash/pull/3605/files 2018-12-05 00:01:01 -11:00
jl777
a5be135052 https://github.com/zcash/zcash/pull/3684/files 2018-12-04 23:51:14 -11:00
Anton Lysakov
08e029bf40 separated tests for different CCs to different files 2018-12-03 21:26:33 +06:00
Jonathan "Duke" Leto
1617998925 Add ac_private test to suite 2018-11-26 18:15:37 +01:00
Jonathan "Duke" Leto
f60ba7d7cb Basic test for ac_private chains 2018-11-24 08:16:17 +01:00
Jonathan "Duke" Leto
5ed808b25f Add VerusHash tests, which currently give: JSONRPC error: Division by zero 2018-11-23 22:45:28 +01:00
jl777
4458e675a2 Merge pull request #969 from tonymorony/FSM
CC auto-tests changes
2018-11-22 23:01:56 -11:00
Anton Lysakov
3a1f15a5ef start node is specific now for cryptoconditions tests 2018-11-23 10:57:06 +06:00
Anton Lysakov
b1ece1933f commented not-working tests 2018-11-23 07:46:25 +06:00
Anton Lysakov
572db45f9d repaired faucet tests by second node adding 2018-11-21 20:46:36 +06:00
Anton Lysakov
ec6811d60f initial version of multi-nodes testing 2018-11-21 15:55:53 +06:00
miketout
6e2a502b0e Merge of Komodo and Verus Technologies Post Sapling, Pre-VerusPoP with Support for Time locked coinbases 2018-11-14 16:40:10 -08:00
miketout
99aeab28f9 Integrate latest Zcash fixes and update for non-latin user names 2018-10-27 20:29:03 -07:00
Eirik Ogilvie-Wigley
882a4f577f Fix potentially misleading test failures 2018-10-24 13:53:25 -06:00