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
blackjok3r
e6aede49ae
fix extremely rare bug!
2019-02-27 13:11:11 +08:00
blackjok3r
b3d61f98f4
fix sync of labs chains. It cant enter here anyway.
2019-02-26 20:33:53 +08:00
blackjok3r
7309367c04
fix & to &&!
2019-02-26 19:55:14 +08:00
blackjok3r
096d25df97
Disable all experminetal/LABS features that are not required.
2019-02-26 12:49:17 +08:00
blackjok3r
8003443417
setpubkey fix
2019-02-19 10:16:31 +08:00
blackjok3r
f577aa0033
fix validation
2019-02-15 11:12:17 +08: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
52450bf202
fix miner better
2019-02-14 21:59:05 +08:00
blackjok3r
2b86a48372
fix
2019-02-14 19:19:13 +08:00
blackjok3r
498e6154a5
Add notarypay to eras, for main chain.
2019-02-14 16:46:15 +08:00
blackjok3r
d9ad59f566
fix
2019-02-12 23:36:31 +08:00
blackjok3r
f6a51145f5
New notary pay mechanisim...
2019-02-12 23:28:13 +08:00
blackjok3r
0ac9828870
what
2019-02-09 03:34:52 +08:00
blackjok3r
3dbbf8cafd
try
2019-02-09 03:22:57 +08:00
blackjok3r
528f39542e
fix reorg problem
2019-02-09 00:08:28 +08:00
blackjok3r
60d0aa08d7
Merge branch 'master' into notarytest
2019-02-03 14:04:19 +08:00
blackjok3r
0ee5e12f08
New method of ac_notarypay
2019-02-03 02:37:04 +08:00
blackjok3r
f9284ad20a
oops
2019-01-30 14:18:20 +08:00
blackjok3r
8592d0f436
fix print
2019-01-30 14:17:11 +08:00
blackjok3r
8450004934
limit some prints to -ac_notarypay
2019-01-30 12:14:51 +08:00
blackjok3r
2cf2102887
-ac_notarypay
2019-01-30 00:33:08 +08:00
blackjok3r
041c74c0a6
Add print and possible rejection of blocks based on valid/invalid notarisation!
2019-01-29 10:52:56 +08:00
blackjok3r
6756fa3ad7
disable orphan purge
2019-01-27 23:56:48 +08:00
blackjok3r
3da846ce85
Merge branch 'FSM' of https://github.com/jl777/komodo
2019-01-26 15:59:29 +08:00
blackjok3r
4bda6bcac4
Change is_STAKED so that chains with a BR are 1 and chains with none are 2. Chains that are 255 are banned, and no notarisations can happen.
2019-01-25 19:14:22 +08:00
jl777
1a9476e844
+/- prints
2019-01-23 22:22:52 -11:00
blackjok3r
c3df1b8747
add auto purge of orphans from before notarisation.
2019-01-24 17:16:42 +08:00
blackjok3r
292edfb284
Merge branch 'FSM' of https://github.com/jl777/komodo into mastertest
2019-01-23 16:57:05 +08:00
jl777
0139e3eedf
test
2019-01-19 20:18:36 -11:00
jl777
0609869874
Ise fixes
2019-01-15 20:26:02 -11: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
697eddcc79
Merge branch 'FSM' of https://github.com/jl777/komodo into jl777-FSM
...
merge
2018-11-29 23:22:32 +08:00
blackjok3r
0b6970c798
change min sigs to +1
2018-11-29 09:35:50 +08:00
jl777
7d54574d4c
komodo_getblockindex instead of mapblockindex[] to prevent creation of new entry on miss
2018-11-23 04:17:34 -11:00
blackjok3r
1dfb6457a1
fix
2018-11-23 00:17:57 +08:00
blackjok3r
f72c3ba1d2
fix
2018-11-22 16:51:34 +08: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
blackjok3r
ad8126e23e
Merge branch 'FSM' of https://github.com/jl777/komodo into mastertest
...
try this
2018-11-11 17:43:41 +08:00
blackjok3r
0920b59572
add min recv size and whitelist address
2018-11-07 17:27:57 +08:00
jl777
3e7c0e4aa8
-print
2018-11-06 19:59:41 -11:00
blackjok3r
120b7c3b02
test new era logic
2018-11-06 16:43:41 +08:00
blackjok3r
fc055b3b49
another
2018-11-06 16:32:46 +08:00
blackjok3r
2aaa5838aa
typo
2018-11-06 16:31:51 +08:00
blackjok3r
68ae8e0468
move initalise notaryaddrs to connect block to stop it being called out
...
of order
2018-11-06 16:26:08 +08:00
blackjok3r
73a83354dc
fast
2018-11-05 21:32:37 +08:00
blackjok3r
f4f9c03cb4
fix?
2018-11-05 20:51:20 +08:00
blackjok3r
dfe8e4a6cd
test
2018-11-05 20:44:37 +08:00