Commit Graph
100 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
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
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
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
Michael Toutonghi 3da69a3138 Trying to fix the forking issue, which is now clearly a bug in sending and receiving headers. This checkin will enable debugging and may be a fix. 2018-05-15 22:19:07 -07:00
Michael Toutonghi 32430433f3 Fix comparison error 2018-05-15 05:35:57 -07:00
Michael Toutonghi dfcf8255ef More anti-forking on startup for slow connections 2018-05-15 05:32:09 -07:00
Michael Toutonghi 3d3a117bde Fix forking potential at startup 2018-05-15 05:00:00 -07:00
Michael Toutonghi 1fae37f6bf Working proof of stake with new algorithm 2018-05-15 00:54:18 -07:00
Michael Toutonghi 3789cb0885 Merge necessary to resync branch 'dev' after commit of verus bash file with error 2018-05-15 00:50:28 -07:00
Michael Toutonghi 7702587db8 Fix too aggressive check for coinbase amount 2018-05-13 23:34:34 -07:00
Michael Toutonghi 1f722359c1 Verus Proof of Stake Compete with Additional ant-fork protection on block 1 2018-05-13 18:59:06 -07:00
miketout 6939648e84 Merge pull request #17 from miketout/dev
Integrate proof of stake
2018-05-09 21:43:42 -07:00
miketout 135fa24e0f Integrate new proof of stake support 2018-05-09 21:40:17 -07:00
miketout 4cd2cd4dd1 Improve and complete getinfo output, cleanup unused reference 2018-05-09 13:13:12 -07:00
miketout 4fa65bc3ed Merge pull request #16 from miketout/dev
Only zero sequence for timelocked coinbases to enable shielding all t…
2018-05-09 03:33:39 -07:00
miketout 8af1971bf3 Only zero sequence for timelocked coinbases to enable shielding all types 2018-05-09 03:32:28 -07:00
miketout 328f7a125f Merge pull request #15 from miketout/dev
Added blockstomaturity output for immature coinbase transactions on rpc:listtransactions
2018-05-09 02:10:33 -07:00
miketout c2f6623fdf Add blocks to maturity in transaction JSON for listtransactions RPC API 2018-05-09 02:06:55 -07:00
miketout 3b03d0670c Merge pull request #7 from VerusCoin/dev
Pull Dave's changes back
2018-05-09 00:58:21 -07:00
miketout 05247588a2 Merge pull request #14 from miketout/dev
Latest Komodo changes, spending time locked coinbases, some cleanup
2018-05-09 00:55:45 -07:00
miketout fb99540b9d Merge pull request #6 from jl777/dev
Merge jl777 changes
2018-05-09 00:53:49 -07:00
miketout 204cf3fcba Enable seamless spending of timelocked coinbases through z_shieldcoinbase 2018-05-09 00:49:09 -07:00
miketout 32d8c6d015 Merge latest from Komodo, including POS 2018-05-08 17:57:03 -07:00
miketout 18c72b619a Merge pull request #13 from miketout/dev
Recognizing CLTV transactions more broadly
2018-05-08 13:35:23 -07:00
miketout ea340a1443 Recognizing CLTV transactions more broadly 2018-05-08 13:33:14 -07:00
miketout 4aace7629b Merge pull request #12 from miketout/dev
Enable time locked transactions to be recognized in the wallet
2018-05-07 16:23:13 -07:00
miketout fab1429d48 Enable time locked transactions to be recognized in the wallet 2018-05-07 15:58:53 -07:00
miketout 45f71e60a6 Merge pull request #11 from miketout/dev
Fix incorrect validations of block transactions, more tolerance to block timing variation until we have enough blocks
2018-05-07 10:34:50 -07:00
miketout 68334c8dae Fix incorrect validations of block transactions 2018-05-07 10:29:43 -07:00
miketout c5298ab254 Merge pull request #10 from miketout/dev
Message changes and better startup
2018-05-06 16:21:49 -07:00
miketout b45d65b46c const build break 2018-05-06 16:11:57 -07:00
miketout 5642c96c67 minor miner message change 2018-05-06 16:09:20 -07:00
miketout 0c9e8452c6 Merge pull request #9 from miketout/dev
Improve mining startup and display
2018-05-06 15:46:07 -07:00
miketout 6176a4215a Improve mining startup and display 2018-05-06 15:44:40 -07:00
miketout c226f4d5c1 Merge pull request #8 from miketout/dev
Better synch display in mining
2018-05-06 14:42:19 -07:00
miketout a62041d987 Better synch display in mining 2018-05-06 14:41:03 -07:00
miketout 5bb313e90f Merge pull request #7 from miketout/dev
wait longer to ensure full chain before mining
2018-05-06 14:15:12 -07:00
miketout c0c38bb43d fix off by one 2018-05-06 14:13:20 -07:00
miketout 9f3e2213bf Wait longer to ensure full chain before starting to mine 2018-05-06 14:11:55 -07:00
miketout f380e87504 Merge pull request #6 from miketout/dev
Continue, rather than quit mining while looking for tip
2018-05-06 13:49:48 -07:00
miketout 05f6e6339e Continue, rather than quit mining while looking for tip 2018-05-06 13:44:36 -07:00
miketout 2a8af3129c Merge pull request #5 from miketout/dev
Reduce default difficulty, fix maturity signed vs. unsigned
2018-05-06 13:09:22 -07:00
miketout 39267c3553 Reduce default difficulty 2018-05-06 13:06:14 -07:00
miketout 78c553a5ae Merge pull request #4 from miketout/dev
Fix to separate minimum difficulties for primary and alternate algori…
2018-05-05 16:36:32 -07:00
miketout 1234f16b15 Fix to separate minimum difficulties for primary and alternate algorithms 2018-05-05 16:34:05 -07:00
miketout 1532e9d388 Merge pull request #3 from miketout/dev
put higher difficulty where it matters
2018-05-05 15:20:30 -07:00
miketout e2951abdc3 put higher difficulty where it matters 2018-05-05 15:11:32 -07:00
miketout 4cc7107b6f Merge pull request #2 from miketout/dev
raise default difficulty for cleaner start, more informative miner messages
2018-05-05 14:09:55 -07:00
miketout bdc8bd41dd raise minimum difficulty for Verus hash 2018-05-05 14:01:40 -07:00
miketout 14d104e93f Fix error 2018-05-05 08:23:05 -07:00
miketout ef70c5b2de Updated miner messages 2018-05-05 07:52:02 -07:00
miketout c4c9f751a9 Merge pull request #1 from miketout/dev
pull latest komodo and miketout changes
2018-05-04 17:17:41 -07:00
miketout 05b14c0599 Make mining require peers 2018-05-04 16:47:12 -07:00
miketout d1bda1a204 Merge branch 'dev' of https://github.com/miketout/komodo into dev 2018-05-04 16:34:50 -07:00
miketout e980a26ddd Enable time locked coin bases to be used as normal coinbase transactions with longer maturity, fix max_money 2018-05-04 16:33:34 -07:00
miketout 43cccb5c8c Merge pull request #5 from jl777/dev
integrate jl777 changes for komodo interest
2018-05-04 15:40:27 -07:00
miketout 061f1a8ec5 Delete inadvertent binary checkin 2018-05-04 12:10:27 -07:00
miketout a582169df0 Merge pull request #4 from jl777/dev
Merge jl777's latest changes to PoS
2018-05-03 15:31:29 -07:00
miketout 90e7502158 Enabled recognition of time locked transactions as watch only or spendable, depending on time 2018-05-02 22:20:03 -07:00
miketout 48d800c2c6 Merge all Komodo changes, including proof of stake, crypto conditions, passport, etc. 2018-05-02 03:24:21 -07:00
miketout e329959f32 moved verus (testnet) cli script to fiat directory 2018-04-30 22:02:33 -07:00
miketout 1912083859 Parameter parsing cleanup 2018-04-30 21:51:15 -07:00
miketout 8360eb8231 Bash script for verus test cli 2018-04-30 12:14:52 -07:00
miketout b64e19b006 enable MiningRequiresPeers 2018-04-30 00:17:03 -07:00
miketout 2910478b5a Added LWMA difficulty algorithm for Verus, enabled compiler optimizations for verushash 2018-04-29 23:21:35 -07:00
miketout 44e17ab3ed Fixed overflow on localsolps and changed sol to hash on mining info 2018-04-28 20:20:21 -07:00
miketout a0dd01bc50 Bug fixes in hash algorithm, parameters, and time lock support 2018-04-28 15:05:20 -07:00
miketout c71dcc712e better error message 2018-04-27 17:24:00 -07:00
miketout c62d115425 Cleaned up algo parameter 2018-04-27 17:03:31 -07:00
miketout c0427087eb Removed 1440 block minimum halving limit 2018-04-27 15:28:23 -07:00
miketout 42181656c2 Implementation of VerusHash CPU-friendly hash algorithm, parameters to enable it, miner, and all changes required to support it on new asset chains 2018-04-27 00:34:50 -07:00
miketout a1af306f81 Accounted for 50 coin transaction in genesis block as genesispremine 2018-04-23 22:49:56 -07:00
Michael Toutonghi 6b78e01d5d Cleanup, rename, fix bug that returned false to return true when we do not recognize a transaction as invalid 2018-04-23 10:54:12 -07:00
Michael Toutonghi 29bd53a102 Rewrite time locks, coinbase validation, and script functions in C++ for easier integration 2018-04-20 18:38:39 -07:00
Michael Toutonghi f0e0d9e560 Added time lock transaction creation and verification 2018-04-18 09:41:30 -07:00
Michael Toutonghi abb90a8979 chainparams 2018-04-16 21:36:28 -07:00