Commit Graph

1900 Commits

Author SHA1 Message Date
dimxy
aff97f9fd4 added check for non-fungible data 2019-05-02 23:19:41 +05:00
jl777
96ccb1586d Merge branch 'dev' into FSM 2019-04-28 18:42:00 -11:00
blackjok3r
cf6f647d1e fix wallet corruption fix, for staking chains, fix forced rescan for ZEX and KMD with ztx in wallet. 2019-04-29 11:25:23 +08:00
jl777
84e4635be2 Merge pull request #1451 from radix42/FSM
Add support for importing and exporting sapling ivk
2019-04-22 18:14:14 -11:00
Bartlomiej Lisiecki
191fc2e152 Add support for importing and exporting sapling ivk 2019-04-22 17:22:31 -07:00
jl777
0b66a88ba2 int32_t komodo_blockheight(uint256 hash); 2019-04-21 02:40:49 -11:00
jl777
70015ce70d int32_t komodo_blockheight(uint256 hash); 2019-04-21 02:37:51 -11:00
jl777
124156f956 int32_t komodo_blockheight(uint256 hash); 2019-04-21 02:36:46 -11:00
jl777
f79d72fb94 Include file 2019-04-21 02:34:31 -11:00
jl777
06bed214f9 Check for null ptr before -> 2019-04-21 02:17:00 -11:00
Mihailo Milenkovic
0acaa3517f Adding validation for importgateway CC (#22) 2019-04-18 14:23:12 +02:00
jl777
6a1575895d Merge branch 'FSM' into jl777 2019-04-16 20:45:46 -11:00
blackjok3r
78162cf103 Add height param to importprivkey 2019-04-17 15:00:47 +08:00
blackjok3r
0bb8c5be22 fix wallet code. Force daemon close and reccomend zapwallettxns for non staking chains. 2019-04-16 13:14:04 +08:00
blackjok3r
2e727de8ee fix wallet crash 2019-04-15 19:58:13 +08:00
blackjok3r
7c56d03474 try wallet fix 2019-04-14 15:51:26 +08:00
jl777
bc7f32a856 CCaddress_balance and CCutxo 2019-04-11 21:57:58 -11:00
jl777
c00aaa32c2 Merge pull request #1391 from jl777/FSM
sync with FSM
2019-04-10 19:48:01 -11:00
jl777
01db353d61 Merge branch 'FSM' into jl777
# Conflicts:
#	src/rpc/crosschain.cpp
2019-04-10 05:21:19 -11:00
Mihailo Milenkovic
2872c88795 Adding dual daemon import and gateway import. (#21) 2019-04-10 13:09:11 +02:00
zatJUM
497038ca05 Updates returned strings for cleanwallettransactions 2019-04-09 16:59:41 +00:00
blackjok3r
237f115594 Clean up some LABS related code, remove un-used/needed stuff.
Adds actual working and feild tested wallet filter. Can set any amount 
of whitelist address's, in conf file or commandline args. 
fix daemon deadlock, when doing z_mergetoaddress and mining at same time 
(needs more testing on staking chains) 
Set z_mergtoaddress to use a 0 expiry height when not doing z-tx's. They 
were failing and peers were getting banned trying to broadcast them.
2019-04-09 18:53:32 +08:00
blackjok3r
e101aa3f9b make -whitelistaddress= activate wallet filter 2019-04-09 06:10:02 +08:00
blackjok3r
6f5e339884 fix 2019-04-09 05:50:06 +08:00
blackjok3r
0d587ccc31 fix 2019-04-09 05:39:34 +08:00
blackjok3r
a30fb4ae36 test 2019-04-09 05:38:10 +08:00
blackjok3r
faea923284 set notary address from -pubkey filter still default to on. 2019-04-09 05:10:52 +08:00
blackjok3r
7e74cb117c fix 2019-04-09 01:39:38 +08:00
blackjok3r
d8edaa38ec make wallet filter work for testnet notary 2019-04-09 01:36:30 +08:00
jl777
e06a4483e8 Merge branch 'FSM' into jl777
# Conflicts:
#	.gitignore
2019-04-06 00:42:37 -11:00
jl777
fb797bc8b8 Merge branch 'FSM' into jl777 2019-04-06 00:40:45 -11:00
jl777
a8c729d8fd Height 2019-04-06 00:29:54 -11:00
jl777
559fb2e0d0 0 2019-04-06 00:27:42 -11:00
jl777
5204312224 Remove rpc funds 2019-04-06 00:26:51 -11:00
Mihailo Milenkovic
180ca470b0 Fix CC change calculation for channelspayment 2019-03-28 17:40:44 +01:00
jl777
aac1223757 Merge pull request #1351 from jl777/jl777
Jl777
2019-03-25 05:59:10 -11:00
jl777
5e08aa28b9 Fix 2019-03-22 05:26:55 -11:00
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
jl777
75e27ba2a5 Merge pull request #1343 from jl777/jl777
Jl777
2019-03-21 02:40:55 -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
blackjok3rtt
d8d7463ea0 Fix sendmany bug for Alright (#1336)
* fix sendmany bug, when sending to multiple address diffrent amounts would always use the first seen value.

* Possible fix for multi node musig. Needs to be tested. Was getting stuck at nonce stage, as reported by gcharang.
2019-03-17 20:22:20 -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