Commit Graph

1861 Commits

Author SHA1 Message Date
jl777
2f752ee6c9 (char *)params[0].get_str().c_str() 2019-03-21 05:12:21 -11:00
jl777
b7dd9a3685 All payments rpc to have one string arg 2019-03-21 04:56:23 -11:00
jl777
384ec464ed -updateflag 2019-03-21 04:13:21 -11:00
jl777
578a977ca8 CCPayments.h 2019-03-21 03:46:05 -11:00
jl777
ac5ec55126 Initial Payments CC without validation 2019-03-21 03:14:59 -11:00
Duke Leto
42200a4716 Fix z_listunspent RPC docs, which require different quoting that CLI function arguments (#1339) 2019-03-20 20:00:40 -11:00
Mihailo Milenkovic
912cecf630 Sort data in CCaddress RPCs. (#1331) 2019-03-13 05:50:57 -11:00
jl777
100eac1654 Jl777 (#1315)
* 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

* Disable passkeys

* Rvalidate

* Syntax

* Allow overwrite by same pub33

* Tx

* Declare variables

* Allow replacement handle

* Grandfather existing handles

* Test

* Handleinfo

* Char *

* Begin

* Add mutex

* CCaddr

* Casts for windows

* +debugs

* Syntax

* Item

* Skeet

* +print

* Error check things

* +prints

* -sleep

* Brute force inventory check

* Revert

* num_packitems

* Log file

* Test

* ABC

* Test

* Add help docs for all -ac_* params of komodod (#1313)

* Remove myAddress from roc

* +print

* Test

* Test

* Leave pack all

* Dont discard unless last o_count

* Prevent pack corruption

* -ddebugs

* Merge branch 'FSM' into jl777

# Conflicts:
#	src/cc/rogue/main.c
2019-03-06 03:38:14 -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
Mihailo Milenkovic
e3b9f3cb21 Fix channelslist RPC. 2019-03-03 20:16:32 +01:00
jl777
62cea0f4e8 +print 2019-03-02 01:18:01 -11:00
jl777
9615ec7574 Test 2019-03-02 00:46:51 -11:00
jl777
34e2f97d23 Merge branch 'dev' into FSM
# Conflicts:
#	depends/packages/zeromq.mk
#	src/assetchains.json
2019-03-01 23:01:41 -11:00
dimxy
b5a02a6b5f corr call to EncodeTokenOpRet in test func 2019-02-28 00:58:47 +05:00
Mihailo Milenkovic
b00411083f GatewaysCC small fixes 2019-02-27 16:31:41 +01:00
Mihailo Milenkovic
7f536a4081 Fix gatewaysbind 2019-02-27 12:22:13 +01:00
blackjok3r
7309367c04 fix & to &&! 2019-02-26 19:55:14 +08:00
blackjok3r
142744f22d verushashv1_1, fix walletdb.h, proto version, cleanwallettransactions add 2019-02-26 17:35:07 +08:00
blackjok3r
096d25df97 Disable all experminetal/LABS features that are not required. 2019-02-26 12:49:17 +08:00
blackjok3r
5e91fa1632 Merge branch 'FSM' of https://github.com/jl777/komodo into jl777-FSM 2019-02-26 09:42:51 +08:00
blackjok3r
e8a36b8982 Update to enable using a single node with musigtest.py script. Fix crash in nonce step. 2019-02-25 17:12:25 +08:00
jl777
13ba8a70ca -prints 2019-02-20 23:28:57 -11:00
jl777
e392999374 Jsonstr 2019-02-20 23:24:27 -11:00
jl777
d653aa3a5b Char * 2019-02-20 23:17:40 -11:00
jl777
2dff5b98f0 Jsonstr 2019-02-20 23:10:26 -11:00
jl777
2496f79e41 Jsonstr 2019-02-20 23:05:58 -11:00
jl777
a65a83bdb8 Test 2019-02-20 22:55:40 -11:00
jl777
3881f9cea4 Prints 2019-02-20 22:50:57 -11:00
blackjok3r
a14c2a2af5 ? 2019-02-19 11:45:14 +08:00
blackjok3r
8003443417 setpubkey fix 2019-02-19 10:16:31 +08:00
jl777
b4c9cbc661 Fix setpubkey crash 2019-02-18 03:59:54 -11:00
blackjok3r
cb5aa3c45c Merge branch 'FSM' of https://github.com/jl777/komodo into jl777-FSM 2019-02-18 19:09:54 +08:00
dimxy
a994a2c015 corrected invalid non-canonical
corrected burntx nExpiryHeight to prevent duplication of importtx (malleability)
added importcoin validation for amount, ac_pubkey
added sourcetx creation with amount in opret
2019-02-16 22:07:07 +05:00
blackjok3rtt
871b765999 fix 2019-02-15 17:18:40 +08:00
dimxy
9e855f8224 changed to strtol in mytokenorders 2019-02-13 17:57:22 +05:00
dimxy
0b16f3942c added non-fungible eval code param 2019-02-13 17:45:45 +05:00
dimxy
3774bde4bb added mytokenorders rpc 2019-02-13 13:15:10 +05:00
jl777
6c21d8affa EVAL_GATEWAYS 2019-02-11 14:08:52 -11:00
jl777
be2a5fd6bc Resolve conflict 2019-02-11 13:59:02 -11:00
jl777
061384f356 Merge branch 'FSM' into jl777
# Conflicts:
#	src/cc/CCinclude.h
#	src/cc/CCtokens.cpp
#	src/cc/CCtx.cpp
#	src/wallet/rpcwallet.cpp
2019-02-11 13:56:09 -11:00
dimxy
0a9f2e0b8e added additionalEvalcode2 in test_burntx 2019-02-12 01:29:49 +05:00
dimxy
e15764f362 added vin for vout0 in test_burntx 2019-02-12 01:20:21 +05:00
dimxy
1754fb8821 added CCaddr2set for test_burntx 2019-02-12 00:47:19 +05:00
dimxy
7a4072b4f1 test_burntx added 2019-02-12 00:14:08 +05:00
Mihailo Milenkovic
0edf474beb Multi coin support for GatewaysCC (#18)
- Added support for other cions
- New RPC for getting address for a pubkey on external chain and for dumping private key in external chain format
2019-02-11 16:37:28 +01:00
blackjok3r
91285f06ba fix error 2019-02-11 19:52:17 +08:00
jl777
366ade08a0 Merge nonfungible 2019-02-10 02:28:14 -11:00
jl777
0a87322d84 Merge branch 'FSM' into jl777
# Conflicts:
#	src/cc/CCinclude.h
#	src/cc/CCtokens.cpp
#	src/cc/CCtx.cpp
#	src/wallet/rpcwallet.cpp
2019-02-10 02:24:24 -11:00
dimxy
14f1da959c non-fungible tokens support (three-eval token vouts) added in CCtokens (additional opret data)
non-fungible tokens support added in assets
logging changed in CCtokens.cpp for bitcon LogPrintStr with -debug=<category> support
2019-02-10 17:04:55 +05:00
blackjok3r
528f39542e fix reorg problem 2019-02-09 00:08:28 +08:00