Commit Graph

506 Commits

Author SHA1 Message Date
jl777
5a1c07c477 +print 2019-03-24 23:31:14 -11:00
Duke Leto
c99801952b 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
2019-03-03 12:27:50 -11:00
jl777
92f2fe7cf0 Prevent > 10 billion for -ac_script/-ac_perc 2019-03-02 04:20:03 -11:00
jl777
f442acaeb6 > 10 billion exemption 2019-03-02 04:15:55 -11:00
jl777
0ca3cae556 Fix ac_subsidy calls 2019-03-02 03:43:08 -11:00
jl777
16efbff11a Billion at a time 2019-03-02 02:55:51 -11:00
jl777
0cf62abcbd MAX_MONEY capped at 63 bits - 1 2019-03-01 23:47:17 -11:00
jl777
5a39e09331 ASSETCHAINS_SUPPLY 2019-03-01 23:38:27 -11:00
jl777
f9913c7a5a Set max_money 2019-03-01 23:33:41 -11:00
jl777
1f8591b0e9 Fixes 2019-03-01 01:47:09 -11:00
blackjok3r
e3495bf3e9 remove pointless things 2019-02-26 12:17:53 +08:00
blackjok3r
13012c169f Merge branch 'notarypay_new' 2019-02-18 19:26:50 +08:00
blackjok3r
cb5aa3c45c Merge branch 'FSM' of https://github.com/jl777/komodo into jl777-FSM 2019-02-18 19:09:54 +08:00
blackjok3r
61d7ede6b4 enable miner only for notary pay, and fix magic values for non notary pay chains. 2019-02-18 18:23:47 +08:00
blackjok3r
498e6154a5 Add notarypay to eras, for main chain. 2019-02-14 16:46:15 +08:00
jl777
be6279d62d ASSETCHAINS_BLOCKTIME 2019-02-09 03:44:03 -11:00
jl777
5df7d49d5c Enable ./configure 2019-02-06 19:08:49 -11:00
jl777
dd8f2697b7 Many changes 2019-02-05 19:25:32 -11:00
blackjok3r
cce73b01a7 new tempfile rotation. 2019-02-01 04:01:16 +08:00
blackjok3r
2cf2102887 -ac_notarypay 2019-01-30 00:33:08 +08:00
jl777
43b78b093b Jsonstr 2019-01-29 04:41:00 -11:00
jl777
7b24fb0d45 (Char *) 2019-01-29 00:00:17 -11:00
jl777
47294fb736 -pubkey 2019-01-28 23:59:13 -11:00
blackjok3r
3da846ce85 Merge branch 'FSM' of https://github.com/jl777/komodo 2019-01-26 15:59:29 +08:00
jl777
e4791f54e6 Merge branch 'FSM' into patch-gcc-8 2019-01-25 16:33:13 -11:00
blackjok3r
ef567651e3 fix block1 to allow an ac_aupply. 2019-01-25 20:51:57 +08:00
jl777
9dda24f913 set nonz = 0 2019-01-25 01:23:36 -11:00
blackjok3r
d5b76cee9d try fix extralen bug. Add is_STAKED == 2 to have a consensus block reward of 0. 2019-01-25 19:59:42 +08:00
blackjok3r
b984401e96 add ca333's Makefile, change depend to hardcoded berkely DB in depnds folder. Add exception for COINABSE_MATURITY =1 for all LABS chains. 2019-01-25 16:18:00 +08:00
blackjok3r
bf726a2c03 Merge branch 'new_staker' into mastertest 2019-01-23 17:46:36 +08:00
blackjok3r
292edfb284 Merge branch 'FSM' of https://github.com/jl777/komodo into mastertest 2019-01-23 16:57:05 +08:00
blackjok3r
0c2aa0a649 oops 2019-01-23 16:20:31 +08:00
blackjok3r
de91bdf571 mutually exclusive founders reward and comission + magic value. 2019-01-23 16:13:54 +08:00
blackjok3r
a0427ebf79 ac_founders_reward fix 2019-01-23 15:01:08 +08:00
blackjok3r
91e94ab8cd Merge branch 'new_staker' into ac_founders_reward 2019-01-23 13:55:57 +08:00
blackjok3r
7167793dbf new version 2019-01-23 02:50:53 +08:00
blackjok3r
2c3247e8f1 Enable -ac_algo=verushash11 2019-01-22 00:12:05 +08:00
blackjok3r
f7b6af7b3f ac_founders_reward test for Alright 2019-01-20 19:11:31 +08:00
jl777
33a2ac6e3b -ac_cclib 2019-01-19 02:33:23 -11:00
jl777
37019a6438 Fix bits 2019-01-19 01:02:53 -11:00
jl777
3ab60f65c7 Fix disable bits 2019-01-19 01:00:51 -11:00
jl777
ac9bd541b4 Require cc for ccenable 2019-01-19 00:57:55 -11:00
jl777
70fba21c46 SETBIT 2019-01-19 00:50:51 -11:00
jl777
6e71c40201 Ccenables 2019-01-19 00:48:53 -11:00
jl777
539b6dd1a9 -ac_ccenable[] 2019-01-19 00:38:55 -11:00
blackjok3r
400a0758c1 Many bug fixes. VerusHash now works with PoS64 without special exemptions. Difficulty on new chains still behaves weridly, hoping resolves as chain ages. Also reduced CPU load on all staking. These changes should work better if you are not the only node staking. 2019-01-16 20:27:35 +08:00
blackjok3r
4d8f79efe2 Merge branch 'FSM' of https://github.com/jl777/komodo into VHT 2019-01-14 17:02:41 +08:00
jl777
386286c95d +prints 2019-01-12 06:47:18 -11:00
jl777
2bde89c9ce Marmara coinbase initial impl 2019-01-12 00:29:37 -11:00
blackjok3r
a543b675f6 Merge branch 'FSM' of https://github.com/jl777/komodo 2019-01-10 02:25:59 +08:00