Commit Graph

331 Commits

Author SHA1 Message Date
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
blackjok3r
791d8dc13b remove dynamic notary pay reward and revert to static amounts, cannot work! 2019-02-15 11:01:10 +08:00
blackjok3r
d7a122c548 fix reorged notarisation to use the same data points 2019-02-15 00:13:48 +08:00
blackjok3r
f6a51145f5 New notary pay mechanisim... 2019-02-12 23:28:13 +08:00
blackjok3r
528f39542e fix reorg problem 2019-02-09 00:08:28 +08:00
blackjok3r
e93fd95815 Merge branch 'FSM' of https://github.com/jl777/komodo into ac_import 2019-01-02 23:29:52 +08:00
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
blackjok3r
3028d884e5 Major rebase and fix staking. 2018-12-16 23:04:45 +08:00
blackjok3r
0920b59572 add min recv size and whitelist address 2018-11-07 17:27:57 +08:00
blackjok3r
863e164e99 final version? 2018-11-07 13:11:03 +08:00
blackjok3r
dfe8e4a6cd test 2018-11-05 20:44:37 +08:00
blackjok3r
96c7f474b9 try print 2018-11-05 19:48:36 +08:00
blackjok3r
102e221887 test eras again 2018-11-05 17:58:23 +08:00
blackjok3r
51442c510d fix test 2018-11-05 17:14:49 +08:00
blackjok3r
8d687f0312 add num notaris golbal, and reset notaries on era 0 2018-11-05 17:11:32 +08:00
blackjok3r
0ec0b444f7 fix 2018-11-05 14:30:36 +08:00
blackjok3r
f07284c682 Move 99% of staked notary code to its own file 2018-11-05 14:28:43 +08:00
blackjok3r
d6dfe03485 here we go :D 2018-11-04 20:18:34 +08:00
blackjok3r
565a17dc86 try this please work 2018-11-04 15:53:30 +08:00
blackjok3r
16b97d7f22 make function, so IS notaty can update on era change 2018-11-03 20:42:59 +08:00
blackjok3r
dd80445e56 fix
:Wq
qqq
2018-11-03 19:12:36 +08:00
blackjok3r
482f2dcb74 try fix 2018-11-03 19:04:31 +08:00
blackjok3r
793ebde434 fix 2018-11-03 18:42:13 +08:00
blackjok3r
20d6d16399 add -stakednotary daemon flag 2018-11-03 18:32:05 +08:00
blackjok3r
5f5a803d51 fix prit 2018-11-03 17:51:06 +08:00
blackjok3r
02cc6355d9 try 2018-11-03 17:47:51 +08:00
blackjok3r
798999bdae try print 2018-11-03 17:43:54 +08:00
blackjok3r
f36ad447b8 fix 2018-11-03 17:40:27 +08:00
blackjok3r
4d85706859 is this working now? 2018-11-03 16:35:51 +08:00
blackjok3r
c52c8d2a37 fix 2018-11-03 15:44:45 +08:00
blackjok3r
55fd0444f6 try 2018-11-03 15:15:34 +08:00
blackjok3r
295c42158d modified: src/komodo_notary.h 2018-11-03 14:54:57 +08:00
blackjok3r
cfa9c3c640 try this first 2018-11-03 14:49:09 +08:00
blackjok3r
98a8eea3fa revert that 2018-11-03 02:06:19 +08:00
blackjok3r
0a598aeea7 extreme lengths 2018-11-03 01:41:03 +08:00
blackjok3r
c87ce0d841 why not 2018-11-03 01:37:39 +08:00
blackjok3r
099b691e24 hacky fix 2018-11-02 23:33:41 +08:00
blackjok3r
7ccc6fe7ed try 2018-11-02 23:26:07 +08:00
blackjok3r
20c46df9be dead 2018-11-02 22:53:57 +08:00
blackjok3r
e75e7e21c6 try again 2018-11-02 22:39:58 +08:00
blackjok3r
351405ce37 more fix 2018-11-02 18:47:50 +08:00
blackjok3r
85bbfadd2f attempt to add Raddress array 2018-11-02 18:40:04 +08:00
blackjok3rtt
3ecd12ca8b Merge pull request #30 from StakedChain/blackjok3r
merge blackjok3r branch and FSM fixes into master
2018-11-01 14:01:09 +08:00
Alrighttt
31b6ef8e17 merge latest FSM to blackjok3r 2018-10-15 03:29:06 +02:00
jl777
ade1fc54a8 KOMODO_DPOWCONFS 2018-10-14 12:44:34 -11:00
jl777
c606ce6925 Backward compatible dPoW enforcement! 2018-10-14 11:56:06 -11:00
blackjok3r
b9b7f12d84 fix edgcase where eras before current get chosen out of order and
prevent later ones being activated.
2018-10-12 14:06:26 +08:00
blackjok3rtt
0cfd7009d7 Merge pull request #21 from StakedChain/master
merge master down
2018-10-07 00:23:08 +08:00
Alrighttt
78e10a3b60 merge lastest jl-dev branch 2018-09-29 15:59:47 +00:00
blackjok3r
dee9067adc modified: src/komodo_notary.h 2018-09-26 14:53:41 +08:00