Commit Graph

18643 Commits

Author SHA1 Message Date
Michael Toutonghi
30ceed219d Accurate POW block counting 2018-05-20 17:24:28 -07:00
Michael Toutonghi
12b384112e final fix to pos dif algo 2018-05-20 17:18:48 -07:00
Michael Toutonghi
3285dbd3c9 worked around compiler issue with types 2018-05-20 15:18:04 -07:00
Michael Toutonghi
0ea9fa65b6 Another tweak for cutting off POS at 8 consecutive 2018-05-20 13:59:28 -07:00
Michael Toutonghi
b9956efcb4 Display proper POS difficulty on minted block. Add missing curly brace. 2018-05-20 13:13:06 -07:00
Michael Toutonghi
3c8a1c9d1f Change name and off-by-one to make compatible with dry-run chain 2018-05-20 11:42:41 -07:00
Michael Toutonghi
e38677b86b Don't early out whenever we see max POS blocks in a row 2018-05-20 11:30:01 -07:00
Scott Sadler
0df96a2f06 fix all tests 2018-05-20 01:27:31 -03:00
Michael Toutonghi
3de80992e0 Finish up new POS difficulty calc 2018-05-19 19:03:53 -07:00
Michael Toutonghi
dbe656fe39 Significant mining optimization and POS DAA modification 2018-05-19 18:34:46 -07:00
jl777
137e08d729 -print 2018-05-20 00:12:37 +03:00
jl777
c9832b3a35 Merge pull request #670 from letolabs/regtest
Regtest mode for Komodo
2018-05-19 22:36:56 +03:00
Jonathan "Duke" Leto
8cf70067ac Use the KOMODO_MINDIFF_NBITS constant 2018-05-19 10:49:01 -07:00
Jonathan "Duke" Leto
16df92af59 Use latest Zcash regtest params, could not use the same as Hush because KMD has merged in latest consensus changes from ZEC upstream 2018-05-19 10:45:12 -07:00
Jonathan "Duke" Leto
373afcb499 Use correct regtest genesis block hash
komodod now starts up and dies with InvalidChainFound, I think due to
checkpoints:

call komodo_args.(./src/komodod) NOTARY_PUBKEY.()
initialized  at 1526749522
finished loading blocks
Assertion failed: (tip), function InvalidChainFound, file main.cpp, line 1942.
2018-05-19 10:05:53 -07:00
Scott Sadler
b6ef9c089a fix broken test case 2018-05-19 12:56:48 -03:00
Jonathan "Duke" Leto
b78c39beb2 Convert to using CreateGenesisBlock() like Zcash upstream 2018-05-19 08:51:45 -07:00
jl777
c669b8bd8c Merge pull request #669 from jl777/jl777
enable GAME
2018-05-19 18:49:50 +03:00
jl777
b860fdec0d Enable GAME 2018-05-19 18:48:33 +03:00
jl777
01891c546c Merge branch 'dev' into jl777 2018-05-19 16:51:28 +03:00
Mihail Fedorov
cadcb27a61 Chmod fix 2018-05-19 16:50:17 +03:00
jl777
1b15c32d18 syntax 2018-05-19 16:41:38 +03:00
jl777
a34f39e9b2 Dont overwrite sp->MoM with null 2018-05-19 15:49:34 +03:00
Jonathan "Duke" Leto
db83a2c0c3 Try Hush regtest params
This fails with:

$ ./komodod -regtest
Assertion failed: (consensus.hashGenesisBlock == uint256S("0x0379ff1530af893f2f2e61146db6e900dd828dc8254215b9de23df2dba06664f")), function CRegTestParams, file chainparams.cpp, line 540.
Abort trap: 6 (core dumped)

From 1d8c55ecc2
2018-05-19 00:56:25 -07:00
jl777
12a52440ee Merge branch 'dev' into jl777 2018-05-19 08:49:43 +03:00
jl777
8d926f6ece Merge pull request #668 from jl777/jl777
Enable zmergetoaddress by default
2018-05-19 08:49:11 +03:00
jl777
b9e8849a6a Merge pull request #667 from KomodoPlatform/dev
add DSEC
2018-05-19 08:29:57 +03:00
Michael Toutonghi
ac4a5c7038 Merge branch 'dev' of https://github.com/veruscoin/veruscoin into dev 2018-05-18 17:45:24 -07:00
Michael Toutonghi
b0957788af add "blocktype": "minted"/"mined" on getblock API 2018-05-18 17:44:05 -07:00
ca333
833115ea41 add DSEC 2018-05-19 02:27:58 +02:00
ca333
7bc9628eb0 Merge pull request #37 from jl777/dev
update dev
2018-05-19 02:04:07 +02:00
Scott Sadler
e4f943d86d cross chain rpc methods 2018-05-18 19:29:33 -03:00
David Dawes
663b0b466c Turn symbols and debugging on for WIndows build. 2018-05-18 13:14:17 -07:00
jl777
f5446e44b7 Enable zmergetoaddress by default 2018-05-18 16:56:44 +03:00
Michael Toutonghi
cf1e5967ee fix getinfo, cleanup hash 2018-05-18 02:46:21 -07:00
Michael Toutonghi
f6608b5a0d cleanup 2018-05-17 22:58:30 -07:00
Michael Toutonghi
31bbe2343f fix staking UTXO value 2018-05-17 22:20:57 -07:00
Michael Toutonghi
c2923066b2 new CNetworkBlockHeader for robust compat 2018-05-17 00:04:10 -07:00
Michael Toutonghi
e96e4e61aa checking properly typed header transfer 2018-05-16 16:29:39 -07:00
Michael Toutonghi
10a01059e5 Attempt to match types in socket communication to prevent misalinged send/receive 2018-05-16 15:06:10 -07:00
Michael Toutonghi
fbe86cecfa more debugging checks 2018-05-16 14:39:00 -07:00
Michael Toutonghi
cdcebd3618 more cast 2018-05-16 07:24:19 -07:00
Michael Toutonghi
e5a4e868bf cast 2018-05-16 07:21:28 -07:00
Michael Toutonghi
01ff13ceb7 printf for testing on server 2018-05-16 07:18:54 -07:00
Michael Toutonghi
d942c58d4a revert testing changes back to original 2018-05-16 06:10:45 -07:00
Michael Toutonghi
cc19c3b08d finish testing change 2018-05-16 05:56:54 -07:00
Michael Toutonghi
351bbd2eae more testing 2018-05-16 05:50:57 -07:00
Michael Toutonghi
c132b91a01 More testing for header transfers 2018-05-16 05:29:49 -07:00
Michael Toutonghi
004e332290 Additional tests 2018-05-16 01:59:23 -07:00
Michael Toutonghi
52670b7205 going back to the original type mismatch - still debugging forking issue, checkin to try on other machines 2018-05-16 00:23:55 -07:00