Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maintenance, bug fixes, new testnet, new regtest, fake stake fixed an…
…d more (dashpay#141) - update from source to 3.2.x - All commits are squashed in range of (includes all source PR's up to march 28 fc924c1f): - 7fa20d69..fc924c1f (https://github.com/PIVX-Project/PIVX/commit/7fa20d69f6654f5ab8c1508178e7787f9e37febb) (https://github.com/PIVX-Project/PIVX/commit/fc924c1f63f3c84d7dcaea7e61254b355b55b608) When do I have to upgrade? -------------------------- Currently we plan to enforce new protocol on GMT: Wednesday, May 1, 2019 12:00:00 AM Client will not require any upgrade, this date will be set with: SPORK_8_NEW_PROTOCOL_ENFORCEMENT_DEFAULT As soon as we release client on github, we will set choosen date over spork. You can check spork values with `ion-cli spork show`. 4070908800 means it is off any other numebr means that spork will be active from this timestamp Release notes are being written. Notable changes: - minor upgrades and fixes - protocol upgrade to 95704 - client version upgrade to 3.2.x - new seeds - cleandup and initialized testnet checkpoints - readded class CBitcoinAddress class and its definitions (**TODO** - _required until refactored for getserials rpc call_) - removed and refactored unrequired check if zerocoin is v1 - fixed leveldb - comparison between signed and unsigned integer expressions (https://github.com/PIVX-Project/PIVX/pull/846) - fix redundant redeclaration (https://github.com/PIVX-Project/PIVX/pull/845) - fix redundant redeclaration of ‘std::__cxx11::string boost::program_options::to_internal(const string&)’ - replaced deprecated auto_ptr with unique_ptr (https://github.com/PIVX-Project/PIVX/pull/844) - updated dependencies - updated snapcraft (https://github.com/ioncoincore/ion/pull/118) - implementation of zerocoin protocol - updated bip44 - new testnet4 - cleaned up chainparams - refactored testnet which can be launched at any time old testnet was very big, with to many forks where no clients are available or hardcoded - change nBits from ion's old 0x1e00ffff to 0x1e0ffff0 - new genesis for testnet - new genesis nounce for testnet - new regtest - cleaned up chainparams - refactored testnet which can be launched at any time ion did not have regression test network for years. Regression test is essential for everybody who is interested in this project, especially for testers and developers. this PR includes full fix of regression test and works with fake stake suite. - new genesis for regtest - new genesis nounce for regtest - change nBits from ion's old 0x1e00ffff to 0x1e0ffff0 - fixed mining on regtest - mining on regtest can be only performed with `generate` command Example for generation of 1000 blocks: `ion-cli --regtest generate 1000` - GUI - [x] all icons for QT are new and created from scratch except ionomy logo itself - [x] released with a license - [x] provide vector graphics for every icon/image required by QT - new splash screens - new main, testnet and regtest icons - minor QT fixes and refactoring - Governance tab - Tools and scripts - fake stake issue fixed - fake stake test suite - copyright updates - - fake xion fix - All commits from: https://github.com/cevap/ION/commit/7fa20d69f6654f5ab8c1508178e7787f9e37febb to https://github.com/cevap/ION/commit/fc924c1f63f3c84d7dcaea7e61254b355b55b608 commit fc924c1f63f3c84d7dcaea7e61254b355b55b608 Merge: 757d81c4a dc168d11f Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Wed Mar 27 22:43:05 2019 +0100 Merge #847: Fix to display missing clock5.png tx image dc168d1 fix to display missing clock5.png tx image (joeuhren) Tree-SHA512: d10828e76ad1b2e034b013a1c3cac9cf79dfdc642a11d1a6493d615a19982d50fc09343b3b39171ba7c25202f29ed0532f1bc539c42fbdad37a19e58adcc48b1 commit 757d81c4a92a3791629407be9a86c55132225440 Merge: d241b5ed7 56dd114b9 Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Tue Mar 26 22:20:45 2019 +0100 Merge #840: [QT] cleanup, remove old trading dialog form 56dd114 cleanup, remove trading dialog form (furszy) Tree-SHA512: 824547803f5b854c51c22ca87149608725036c5ddee1922ceef7bdc71fcaeac440e77da3c51f7fe44b29269a57990d5ddfd674ca52b4de6ebd6fd36f847f55e8 commit dc168d11f8f067a5de397eafc81c7bcfcae2fa02 Author: joeuhren <46763106+joeuhren@users.noreply.github.com> Date: Mon Mar 25 14:04:54 2019 -0600 fix to display missing clock5.png tx image commit d241b5ed776466815f2dd78365ed56b0c3682fba Merge: 5673c8373 6eff5fa97 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Fri Mar 22 15:50:33 2019 -0700 Merge #837: [Zerocoin][UNIT TEST][RPC] Wrapped serials. 6eff5fa970 fix xION supply recalculation (random-zebra) 2676ca3626 newline character added to recalculate wrapped serials supply logging (furszy) da43659dd2 Initialize nSupplyBeforeFakeSerial to 0 in TestNet and RegTest (random-zebra) c46de31dc4 Fix Wrapped Serials inflated xION supply recalculation (random-zebra) 13691861f8 zerocoin contextual spend check log invalid serials (furszy) 0240f27e5f log rejection serial block height (furszy) ab6a134f2b invalid fake serial rejection (furszy) 010d03591c xion recalculation moved in init and added in connectblock (furszy) bd6b26b466 fix tabs in SoK (random-zebra) 41a2bcca29 fix bitSize typo in bignum for openssl (random-zebra) 29c1791815 inflation methods moved to cpp (furszy) 027c9ffcb6 wrapped serial inflation trigger recalculation (furszy) a3d725a42a Zerocoin supply, wrapped serials inflation + some minor modifications (furszy) b3660cbb2e SoK invalid range check. (furszy) ad3a3c717b remove tab spaces (furszy) ed15e21eb8 Fix isBlockBetweenFakeSerialAttackRange check (random-zebra) 8e7cf5ab4e Fix IsValidCommitmentToCoinRange check (random-zebra) a936e03c22 getserials ambiguous Pair constructor in bitsize blocking clang compilation fix (furszy) bd529a0f6e [UNIT TEST] wrapped serial coinSpend check (furszy) 1217868777 [RPC] Add getserials method (random-zebra) 9fe8dabc4f fix isValidSerial always true check (random-zebra) 913e48cda8 wrapped range fix (furszy) 46a5231574 wrapped serials check in acceptToMemPool method (furszy) edfdb4c30b prints in console commented (furszy) 18e55ed179 fake serials attack enforcement (furszy) Tree-SHA512: fe6eaf26257c25377982d44ff1cdd839edf6f71daa5607fc98397b4a3fcd26ae78db54c781038e4f9ff8a7ad1d460ce109909184852bb620435e10dcba6a638c commit 6eff5fa9706f041438417c69124e480a11479a9f Author: random-zebra <random.zebra@protonmail.com> Date: Fri Mar 22 19:14:50 2019 +0100 fix xION supply recalculation commit 2676ca3626ccacf6bbc43daba8cc9eda9b3984e0 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Fri Mar 22 12:55:52 2019 +0100 newline character added to recalculate wrapped serials supply logging commit 56dd114b99d7d4a1a73f5b1e859838322a1b0ff4 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Mar 20 17:23:27 2019 +0100 cleanup, remove trading dialog form commit da43659dd21d27aa6bffefaabf8a7c51944feaee Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 20 09:58:14 2019 +0100 Initialize nSupplyBeforeFakeSerial to 0 in TestNet and RegTest and fix percent of reindex feedback in uiInterface commit c46de31dc45d7b23008472970da3b020f8fac07f Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 20 04:20:34 2019 +0100 Fix Wrapped Serials inflated xION supply recalculation and add visual status feedback to UI interface commit 13691861f8fa39245a0fc257d952fbdfa7618a82 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Mar 19 13:08:52 2019 +0100 zerocoin contextual spend check log invalid serials commit 5673c8373ebba0d516d0fe44d787f69f328f1c26 Merge: 0d738b3dc c3352f0db Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Tue Mar 19 01:29:33 2019 -0700 Merge #838: [RPC][Test] spendrawzerocoin + wrapped serials functional test c3352f0dbd [Test] add 'zerocoin' to the list of good prefixes in test_runner (random-zebra) 78f1a241ae [Test] wrapped serials: use multiple random values for K (random-zebra) bf0cf52d37 [RPC] fix spendrawzerocoin string parsing (random-zebra) 025d2855f9 [Tests] Add Wrapping Serials Test (random-zebra) 7373704842 [RPC] Add spendrawzerocoin (random-zebra) Tree-SHA512: 707c015b2b40bf6f34999aa7b1a62b1e1be4b8c4d9b0e830ed78ebf2f74a362883708d6204cfadd95f5d6520feb19fc1ba4b8a12549c6cc40c40dc2ab56fb2e9 commit 0240f27e5f0b936e9f9171ef8afcd2a93dc9f961 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Mar 19 02:50:16 2019 +0100 log rejection serial block height commit ab6a134f2b40b72f155e42e51153d6ba1170872b Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Mar 19 02:42:19 2019 +0100 invalid fake serial rejection commit 010d03591c81a42bac042cb2fc7f02dd75059c8b Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Mar 18 18:07:27 2019 +0100 xion recalculation moved in init and added in connectblock commit bd6b26b466ae111c0ff84932885b16d1f67aede9 Author: random-zebra <random.zebra@protonmail.com> Date: Mon Mar 18 16:28:58 2019 +0100 fix tabs in SoK commit 41a2bcca29789ce0fc87c526331f60c88bd2e0ea Author: random-zebra <random.zebra@protonmail.com> Date: Mon Mar 18 16:05:33 2019 +0100 fix bitSize typo in bignum for openssl commit 29c1791815bb5675e5ef53985d8541157d3cdce1 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Mar 18 15:58:26 2019 +0100 inflation methods moved to cpp commit 027c9ffcb687d2093ce16cab4c06b530f5925bf5 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Mar 18 12:46:43 2019 +0100 wrapped serial inflation trigger recalculation commit a3d725a42adbda5aee3d6b7a63c63b6a2d673dde Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Mar 18 12:07:49 2019 +0100 Zerocoin supply, wrapped serials inflation + some minor modifications commit b3660cbb2e01b1066e0c4fb472d956dff245005a Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Mar 18 12:03:27 2019 +0100 SoK invalid range check. commit c3352f0dbd0f5a6324fa0ec262d80ab311d58b48 Author: random-zebra <random.zebra@protonmail.com> Date: Sat Mar 16 01:45:14 2019 +0100 [Test] add 'zerocoin' to the list of good prefixes in test_runner commit ad3a3c717ba196fc072155f2e71f86ac9838aade Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sat Mar 16 00:46:59 2019 +0100 remove tab spaces commit 78f1a241ae8f3884ccd714b898f1ed733467d9c3 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Mar 14 15:39:45 2019 +0100 [Test] wrapped serials: use multiple random values for K commit bf0cf52d3725789d43aaadee5eff750e9173977a Author: random-zebra <random.zebra@protonmail.com> Date: Thu Mar 14 14:45:40 2019 +0100 [RPC] fix spendrawzerocoin string parsing commit ed15e21eb8eab1d506d5eb30c13829a1b3edc3f3 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Mar 14 02:30:50 2019 +0100 Fix isBlockBetweenFakeSerialAttackRange check use only upper bound and only mainnet commit 025d2855f9ebe323e292962542d6ccb3ea6bd836 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 13 22:53:00 2019 +0100 [Tests] Add Wrapping Serials Test commit 73737048422ad627ee38d73dca52bf04f185472a Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 13 22:16:12 2019 +0100 [RPC] Add spendrawzerocoin and add 'serial hash' to export zerocoins output commit 8e7cf5ab4e70e7a2370f18765148fd4bc41d1ab6 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 13 18:33:41 2019 +0100 Fix IsValidCommitmentToCoinRange check commit a936e03c22b0204235e6831956902522acc1bc63 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Mar 13 14:36:37 2019 +0100 getserials ambiguous Pair constructor in bitsize blocking clang compilation fix commit bd529a0f6e91a6abe0305ebf28e3c9dba3cb7316 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Mar 13 14:34:27 2019 +0100 [UNIT TEST] wrapped serial coinSpend check commit 12178687775f7e3010c86d46e114f1b408a84ed7 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 13 10:33:15 2019 +0100 [RPC] Add getserials method commit 9fe8dabc4f869842725ca2f212fdab34e935c6fb Author: random-zebra <random.zebra@protonmail.com> Date: Wed Mar 13 10:32:32 2019 +0100 fix isValidSerial always true check commit 913e48cda8bee4d63f7bf72ff6c45cccaf8abb82 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Mar 12 12:51:36 2019 +0100 wrapped range fix commit 46a5231574a47cfd886808cd352b4a2a17abc5d5 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Mar 12 02:03:46 2019 +0100 wrapped serials check in acceptToMemPool method commit 0d738b3dc073bf9f57a34d5fd5021cee6a56f0fa Merge: 2b8daac4c 0015d08c7 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Mar 11 02:41:18 2019 -0700 Merge #826: [Qt] Fix a windows only crash when r-clicking a proposal 0015d08c75 [Qt] Fix a windows only crash when r-clicking a proposal (warrows) Tree-SHA512: 7e9507e4ffbbca6b41d9c9b18d31f7ebfddf01d5abbfd083b2fcbf6d7d398c20391bdc4fc4903c8d1b338d0c78929920264eb6352bbcaa9b2baf1c11df965cc5 commit edfdb4c30b7efe0795805f7e315ba1cabf5b0e8e Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sat Mar 9 15:38:34 2019 +0100 prints in console commented commit 18e55ed179b04b1ce81e3afb9110bb73e92da638 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Thu Mar 7 23:27:46 2019 +0100 fake serials attack enforcement commit 2b8daac4c0f29aecc80dfa7e0378ea40a1fd5e90 Merge: 86d613373 52b509468 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Tue Mar 5 00:20:52 2019 -0800 Merge #822: [Tests] Integrate fake stake tests into parent test suite 52b509468f Remove stale qtum python scripts (Fuzzbawls) c0d8dcb8c9 [Tests] Integrate fake stake tests into parent test suite (Fuzzbawls) Tree-SHA512: b0f9d559b3a8a4d0da3d400dfbe57fa15933a3c569732c4d7d10e147e7d5cd5f70a6f5231c862e4ca5f7f3efdb2de5890fe4755cbee5c41b00a4ab34a015c2e4 commit 86d61337353ed14d40c0c3ec789c954b3df39079 Merge: 37a06eaa9 e87231b62 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Mar 3 22:04:59 2019 -0800 Merge #821: [RPC] Fixup signrawtransaction on regtest e87231b62b [RPC] Fixup signrawtransaction on regtest (Fuzzbawls) Tree-SHA512: 1e1b9c25abf9b2406b5065b0b348100fe60e13a258d874d681c6df4094a86ecf3e226e39e6c3e1d8b07fa853634c35249f65652641d13741c426c4c9053e7b36 commit 52b509468f4915a682c977ef9da5f971ceb45bbb Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Mar 3 03:40:09 2019 -0800 Remove stale qtum python scripts commit 0015d08c75a02692c1169be4876bd2d42ae45ab2 Author: warrows <warrows@gamer666.fr> Date: Fri Mar 1 11:13:37 2019 +0100 [Qt] Fix a windows only crash when r-clicking a proposal The problem seems to be related to a stack corruption issue occuring within Qt and only for windows 64 builds. Further investigation is required but this is a suitable fix for now and there is no need to have the r-click doing the sae job as the l-click in this situation. commit 37a06eaa938cab1c4cc7a39298690922519beb7a Merge: 065f94118 bae276af9 Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Wed Feb 27 21:51:22 2019 +0100 Merge #817: [Wallet] Fix segfault with runtime -disablewallet bae276a Don't bother checking obfuscation messages (Fuzzbawls) 837f25f [Wallet] Fix segfault with runtime -disablewallet (Fuzzbawls) Tree-SHA512: a8dd502897cdc82f206a1805f7b1ae51960344c3fa32640c9dc6c271768e7db718bc2f57034e8fabfd1b402e589e531419d1e8af8a25eee71d89a6b79ce3a679 commit c0d8dcb8c9be933ba6c86be95b1a45b89a1337af Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Tue Feb 26 19:16:20 2019 -0800 [Tests] Integrate fake stake tests into parent test suite This integrates each of the 5 test scripts into the parent test suite so they can be run from within `test_runner.py` (or still individually). One prominent benefit to this is that the 5 tests are now included when generating code coverage reports with `make cov` `stratisx-notingatstake.py` and `ion_fake_stake.py` are removed as the former was a stale leftover from prior to our own test scripts, and the latter is now redundant. commit e87231b62b4fb41f4d14117e39f6c4ef8f3e0447 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Feb 25 00:58:04 2019 -0800 [RPC] Fixup signrawtransaction on regtest The `signrawtransaction` RPC command needed some modification to appease the fake stake test cases, however that change introduced a minor inconsistency in it's operation. This PR restores the original functionality, while still providing a means to be used for the fake stake test cases. commit 065f94118d818faeaef80add16494366d9267120 Merge: f8eb7feef 61a6ea755 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Feb 24 22:50:11 2019 -0800 Merge #803: [NET] Invalid blocks from forks stored on disk fix + blocks DoS spam filter. 61a6ea7558 AcceptBlock() for-each loops variables moved to const (furszy) e1974d23f3 AcceptBlock() check for double spent serials only on main chain flag. (furszy) babdfb0f26 remove extra debug lines in AcceptBlock (random-zebra) a9178bc6e0 AcceptBlock: contextual zcspend check on main chain (random-zebra) 0d49570f20 AcceptBlock() block stored log removed (furszy) b74921756a Fix bug on AcceptBlock when pindex is null (random-zebra) 45883b9fb6 AcceptBlock() invalid isBlockFromFork flag (furszy) 6a16049dfa AcceptBlock() reject blocks double spending the coin stake input inside the same block (furszy) da1b6836a5 block spam filter, validate non null nodestate (furszy) 84de55a11c AcceptBlock() isBlockFromFork flag not contemplating prev blocks from forks fixed (furszy) 4219339521 AcceptBlock() - not accept blocks from a forked chain that exceed the max reorg limit (furszy) 47759e113c AcceptBlock(), reject invalid PoS stake (furszy) e237823000 validate non null pfrom on blockspamfilter check (furszy) c2e5459dff AcceptBlock(), serial double spend on the same block validation (furszy) 3f5091986c zPoS validations of forked chains before store them + inputs check on prev split main chain (furszy) 64804b4bee Invalid blocks from forks stored on disk fix + blocks DoS spam filter. (furszy) Tree-SHA512: 6c5a7fda3eb81dc8b030c9ba624e5101f552ef9cecc839a79237b705c314171c0e9c66ecd8bfd207081c6759272140cf3bdf0da7af6ac4695f0c09b74fb1ba45 commit 61a6ea75585c11ef90f834583c1f206aaa5942b0 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sun Feb 24 23:52:40 2019 +0100 AcceptBlock() for-each loops variables moved to const commit f8eb7feefceeb8828cbf5e8172ddf50079d713ca Merge: 51e7b2c4b fced4e26f Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Feb 24 14:46:30 2019 -0800 Merge #812: [Regtest][Tests][RPC] Regtest mode + Test suite. fced4e26fe [Tests] fake_stake: reverse stake hash byte order (random-zebra) a85cdad03c [Tests] fake_stake: use hashStake for kernel computation (random-zebra) 6aa5ddbff8 [Tests] fake_stake: remove random prevout from spending (random-zebra) 8e370da804 [RPC] add mint hashStake to listmintedzerocoins output (random-zebra) 0d865a8978 [Tests] fake_stake: use a copy for spendingPrevouts (random-zebra) 0f209b3da8 [Tests] fake_stake: docstrings and comments (random-zebra) 322ce79a67 [Tests] fake_stake: fix checksum computation (random-zebra) 7aae5b1e8b [Tests] fake_stake: fix empty spending_prevouts (random-zebra) c7555e1b84 [Tests] fake_stake: collect prevouts from create_spam_block (random-zebra) 1d699432f2 [RPC] Add call 'getchecksumblock' (random-zebra) 2e7eacc4c4 [Tests] fix line separators in Test03 (random-zebra) c6c81a7cd2 [Tests] fake_stake: test03 updated (random-zebra) 0d8cf5500d [Tests] remove trailing whitespace from README.md (random-zebra) 9302f5a046 [Tests] fake_stake: test01 & test02 updated (random-zebra) e0efe4d530 [Tests] unique 'get_prevout' method for both pos and zpos stakes (random-zebra) 9318335525 [Tests] remove trailing whitespaces (random-zebra) 67284ce22a [RPC] add mint block height to 'listmintedzerocoins' (random-zebra) d783229568 [Tests] get correct nStakeModifier (random-zebra) 78e838ee32 [Tests] fix solve_stake nTime / nStakeModifier (random-zebra) a428c83609 PoS block creation uniqueness. (furszy) dd07bd1a50 [Tests] fix proof of stake target in block class (random-zebra) 030e557b93 [Tests] fake_stake: fix test 01 block numbers (random-zebra) fe54e9b92a [RPC] fix signrawtransaction hack to allow signing of spent inputs (random-zebra) 79e364354f regtest lastPoWBlock and zerocoin block start decreased to not waste lifetime waiting for the tests. (furszy) 42e9c01a85 More logging in block generation. (furszy) 0aa9bafbf4 fake stake test4 (furszy) 8315a42a7b ion_fake_stake: test03 almost complete (random-zebra) 1ad11ad9f7 RPC createrawzerocoinstake: fix vout[0], add priv-key (random-zebra) ad65ac4e0a REGTEST: Fix bug on GetModifier (random-zebra) 47f0503b19 RPC: hack MintToTxIn to allow spending an already spent xion on regtest (random-zebra) 3092cfc0c2 add empty output to createrawzerocoinstake (random-zebra) c5a6a67349 log CWallet::MintToTxIn errors (random-zebra) 252f4ab43e ion_fake_stake: zerocoin prevouts (random-zebra) 22769817ae GetModifier for regtest zPoS hardcoded to prev block stake modifier (furszy) 63bd40e064 ion_fake_stake: test_spam method refactoring (random-zebra) 1df9240727 ion_fake_stake: add test descriptions (random-zebra) 79e746eb3d zerocoin mint + spent (furszy) 9eea8837aa half test3 completed (furszy) 23236e7499 ion_fake_stake: select test from command line (random-zebra) 44d2e9a1c2 ion_fake_stake: get_prevouts (random-zebra) 1b27b90e8b ion_fake_stake Test05 - update blockcount in forks (random-zebra) 88e0dc6442 ion_fake_stake Test05 - more blocks fix (random-zebra) bf3b732dc5 ion_fake_stake Test05 - more blocks (random-zebra) a25f2e84a2 ion_fake_stake Test05 (random-zebra) 427f2f168b test05 completed, rejection of double spend coin stake input on the same block on main/forked chain (furszy) 3cbf43e7db test05 (furszy) f7a48260c6 Add 'createrawzerocoinstake' method (random-zebra) 70d859e055 test_02 working good. (furszy) ed63600142 ION_fake_stake: zerocoin tests (random-zebra) 07b981af88 no time validation for regtest (furszy) 47c2c65721 import bytes_to_hex on test_02 fix (furszy) c02002bdd4 ION_fake_stake: fix coinstake out value (random-zebra) 35f09e5d21 submitblock assertion on test_02 (furszy) d0c0dccff5 ION_fake_stake: fix coinbase nHeight merge (random-zebra) 2cf7ae1939 ION_fake_stake: fix txes in create_spam_block (random-zebra) ef01bd8141 zPoS running on regtest :) (furszy) 5405d1ce2d Zerocoin fixed on regtest & PoS blocks generation fixes. (furszy) 158bd2b215 regtest PoS generate valid blocks (furszy) 71a3743108 Tests: fixup a conditional check for python block creation (Fuzzbawls) b3950ff436 Tests: update nothingatstake test file (Fuzzbawls) f40f576eb3 stakemodifier fixed for regtest (furszy) 80a2aec5df Tests: serialize block signature when present (Fuzzbawls) 9cec3bd2f5 RPC: hack signrawtransaction to allow signing an already spent input (Fuzzbawls) 5c0f0b99ed WIP: port the test for "fake stake" issue test (Fuzzbawls) b074cd0e42 RPC: return the used stake modifier in getblock (Fuzzbawls) 1ffc443ba6 Regtest: mine the correct version blocks (Fuzzbawls) 3d588ead42 Tests: Remove whitespace in default conf file (Fuzzbawls) ebdc552408 Fixup the walletdump command and python test (Fuzzbawls) 37b29c7e61 [Tests] Add Basic BIP38 RPC functionality test (Fuzzbawls) c2cfff0a23 Tests: add size field to test json (Fuzzbawls) 2155506247 Add rpm contrib files (Fuzzbawls) 4e62dd9ee8 Main: reject non-final transactions using nLocktime from entering the mempool. (Fuzzbawls) 4c71b5694a [RPC] Ensure Tx/Budget input hashes are of the proper length (Fuzzbawls) 7d37c1c207 [RPC] Update and harden many raw transaction RPC commands (Fuzzbawls) 262f76a9d0 [RPC] Error early when block doesn't start with a coinbase transaction (Fuzzbawls) 7e0476b25a RPC: Add waitforblock/waitfornewblock/waitforblockheight (Fuzzbawls) 22bfe7ea2c [Tests] Initial update for regression test suite tests (Fuzzbawls) 93fd9f0501 Update block generation code to enable regtest mode (Fuzzbawls) 25fc43698b Build: add test runner packaging to configure (Fuzzbawls) Tree-SHA512: 09bcd3c727eb85103451cf971e0bc3a27eca205318ebb6c600a26ddc97f58ef456aa6768c9e94fd5c484da5071887e5b50c2bcf90318cfe2c9178c0c746a408b commit bae276af944b357b4ed5542c0ddf2db4081844fb Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Feb 24 00:28:44 2019 -0800 Don't bother checking obfuscation messages Obfuscation has all but been removed, no need to check incoming messages for it's functionality anymore commit 837f25f4e9187211620e747df3672d7130d7a48e Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Feb 23 02:09:05 2019 -0800 [Wallet] Fix segfault with runtime -disablewallet commit 51e7b2c4b012182ecee22930a9d19946d613648b Merge: a611a7fa7 867d1b573 Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Sat Feb 23 21:58:32 2019 +0100 Merge #816: [Doc] Update build-unix.md 867d1b5 [Doc] Update build-unix.md (Fuzzbawls) Tree-SHA512: fcb195491a46328908146b26588595d3d93bfab8ceb658fb960dd9364fdb7f1c462c888b9cca74364344786722f208ff2f59d31b1fe820c0b8bf5b33a1546c64 commit 867d1b573fd1055661325aee2d355527abbf155c Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Feb 23 00:18:00 2019 -0800 [Doc] Update build-unix.md Update the Unix build notes to be more complete, with mentioning of the GMP and ZeroMQ dependencies, as well as OpenSSL version note. Other stylistic updates as needed. commit a611a7fa777b89f8752cad430a8b8e370deee8a2 Merge: c12697469 0eaf96d85 Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Wed Feb 20 22:26:17 2019 +0100 Merge #757: [Doc] Update doc/build-windows.md 0eaf96d Update doc/build-windows.md (idas4you) Tree-SHA512: 3f8a3067887d84fe371b5ba80b70c95d7a1f2b95b938c5f1059df0f884630595f75abf38676af5ce5a2983f3971791ec56fdaa979ff6b656cb06b3ddd7326df6 commit c12697469b27f23cdd266a408914eb80cc652931 Merge: ed0dd2a20 400886551 Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Wed Feb 20 22:08:17 2019 +0100 Merge #792: [UI] Add a budget monitoring and voting tab 4008865 [Travis] Fix trailing whitespaces (warrows) 87b9809 [UI] Rework proposal frames (warrows) 8b8a712 [UI] Add global budget information to governance tab (warrows) f7674fb [UI] Clean proposal list when updating (warrows) bbf3274 [UI] Use only one column for Proposal list (warrows) d6c68c6 [UI] remove unused textlabel from governance page (warrows) 39eb903 [Qt] Add basic GUI voting tab to the wallet (Fuzzbawls) Tree-SHA512: 438afbb8ed1dbe0892164b6f6b3d0ac3b825b2e7855115f1137bf5bcf454533e375774cd835c19ea529bb1ff0a4f886a3e71e809e9893a102ae841a1a4be8f9a commit fced4e26fe712c07e05b3744b9eac2a3f8ad31b5 Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 18 18:57:47 2019 +0100 [Tests] fake_stake: reverse stake hash byte order commit a85cdad03cfece1fdcb4732d8b2cb19e698167fb Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 18 16:25:51 2019 +0100 [Tests] fake_stake: use hashStake for kernel computation commit 6aa5ddbff8cd788f2b5a66ff502e71ff5db5f2ee Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 18 16:19:04 2019 +0100 [Tests] fake_stake: remove random prevout from spending commit 8e370da804ae1cf0f1c5af6b50bb12c59fbfe47d Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 18 16:18:24 2019 +0100 [RPC] add mint hashStake to listmintedzerocoins output commit 0d865a8978682a3c8976c210817336b119bdf41f Author: random-zebra <random.zebra@protonmail.com> Date: Sat Feb 16 11:43:51 2019 +0100 [Tests] fake_stake: use a copy for spendingPrevouts commit 0f209b3da879899a286154ccdd46c022dddc24bc Author: random-zebra <random.zebra@protonmail.com> Date: Sat Feb 16 00:54:48 2019 +0100 [Tests] fake_stake: docstrings and comments commit 322ce79a6745fe571ae7c2f8f0d64eea27f12682 Author: random-zebra <random.zebra@protonmail.com> Date: Fri Feb 15 21:54:33 2019 +0100 [Tests] fake_stake: fix checksum computation commit 7aae5b1e8b93add3adde84d049ae0cf54dc941df Author: random-zebra <random.zebra@protonmail.com> Date: Fri Feb 15 21:17:10 2019 +0100 [Tests] fake_stake: fix empty spending_prevouts commit c7555e1b8472592b09021bc570dc635b66f175c6 Author: random-zebra <random.zebra@protonmail.com> Date: Fri Feb 15 21:07:34 2019 +0100 [Tests] fake_stake: collect prevouts from create_spam_block commit 1d699432f2e2b73a4bf96f08a76b9c889bcbaeda Author: random-zebra <random.zebra@protonmail.com> Date: Fri Feb 15 18:25:40 2019 +0100 [RPC] Add call 'getchecksumblock' which returns the first occurrence of a block with given accumulator checksum commit 2e7eacc4c47a94018a82dc16371b16c63651e64e Author: random-zebra <random.zebra@protonmail.com> Date: Fri Feb 15 09:57:49 2019 +0100 [Tests] fix line separators in Test03 commit c6c81a7cd20a5287f35ba00418af171f2cecb905 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 18:06:01 2019 +0100 [Tests] fake_stake: test03 updated commit 0d8cf5500daf4896a4b48c573b1e2155c3f0deb3 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 17:56:40 2019 +0100 [Tests] remove trailing whitespace from README.md commit 9302f5a0463029696637b632b884d943f39c75c8 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 17:50:40 2019 +0100 [Tests] fake_stake: test01 & test02 updated commit e0efe4d530550d950af788148ecfc453db8bf83a Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 17:50:06 2019 +0100 [Tests] unique 'get_prevout' method for both pos and zpos stakes commit 93183355259994dd3278618b267231bf8b745fcc Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 17:47:06 2019 +0100 [Tests] remove trailing whitespaces commit 67284ce22af1c6cc931b8c42a3abe2ea57549b90 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 17:27:34 2019 +0100 [RPC] add mint block height to 'listmintedzerocoins' commit 0eaf96d8565ce9335745c774de4761ca232e8063 Author: idas4you <idas4you@gmail.com> Date: Thu Nov 8 11:31:12 2018 +0900 Update doc/build-windows.md commit 64b2bb324e2deaf29f27529094ca0cb05720a250 Merge: d78322956 26e98a8df Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 01:05:39 2019 +0100 Merge branch '2019_regtest-mode-and-fake-test-suite' of https://github.com/furszy/ION into 2019_miller_tests commit d783229568f4fccadce8e05ae7f0001692ea4041 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 14 01:04:59 2019 +0100 [Tests] get correct nStakeModifier commit 26e98a8df8532bf7842c98a0b456e2e060637f8a Merge: a428c8360 78e838ee3 Author: Matias Furszyfer <5377650+furszy@users.noreply.github.com> Date: Wed Feb 13 23:45:41 2019 +0100 Merge pull request #8 from random-zebra/2019_miller_tests [Tests] fix solve_stake nTime / nStakeModifier commit 78e838ee32344ab4cf56f25a21d65111e09b49df Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 13 23:33:58 2019 +0100 [Tests] fix solve_stake nTime / nStakeModifier commit a428c83609e8532c8db14caaf8e01e4a1ffac1f8 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Feb 13 13:31:26 2019 +0100 PoS block creation uniqueness. commit 90631bebd99844d4d3f56648f1ab0caedaf1fcae Merge: eb1258375 dd07bd1a5 Author: Matias Furszyfer <5377650+furszy@users.noreply.github.com> Date: Tue Feb 12 15:53:16 2019 +0100 Merge pull request #7 from random-zebra/2019_miller_tests [Tests] fix proof of stake target in block class commit dd07bd1a50ca24a4f138c6b255b534ae65b32aa1 Author: random-zebra <random.zebra@protonmail.com> Date: Tue Feb 12 15:47:50 2019 +0100 [Tests] fix proof of stake target in block class commit eb1258375a8aeb67bd18084b6eab00595a9232e6 Merge: 79e364354 030e557b9 Author: Matias Furszyfer <5377650+furszy@users.noreply.github.com> Date: Tue Feb 12 00:09:21 2019 +0100 Merge pull request #6 from random-zebra/2019_miller_tests Additions to Regtest - fakeStake suite commit 030e557b93d46733c8e647c63ce756e4900fdd38 Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 11 23:38:55 2019 +0100 [Tests] fake_stake: fix test 01 block numbers commit fe54e9b92a601b8a38f3488e9567e10fe2a9b7bf Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 11 23:23:55 2019 +0100 [RPC] fix signrawtransaction hack to allow signing of spent inputs commit 79e364354ffd3f0aadb617d576efc8175037aa46 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 11 17:00:44 2019 +0100 regtest lastPoWBlock and zerocoin block start decreased to not waste lifetime waiting for the tests. commit 42e9c01a85bd031f15b6b26ce806ca35c46efc23 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 11 16:59:06 2019 +0100 More logging in block generation. commit 0aa9bafbf40597500f6f09ce2e016159c415a36f Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 11 12:25:07 2019 +0100 fake stake test4 commit 8315a42a7b4581deb70681f2930f29b71f37138b Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 14:56:24 2019 +0100 ion_fake_stake: test03 almost complete commit 1ad11ad9f7b4befa10538075d0ed091936522d4f Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 13:32:27 2019 +0100 RPC createrawzerocoinstake: fix vout[0], add priv-key commit ad65ac4e0a191d042c4e50a2ac06f7cebc605787 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 13:31:51 2019 +0100 REGTEST: Fix bug on GetModifier commit 47f0503b197245b143135f259381ef0a9c257c74 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 05:42:59 2019 +0100 RPC: hack MintToTxIn to allow spending an already spent xion on regtest commit 3092cfc0c2d111449b5441aaebac485812e693b4 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 05:41:35 2019 +0100 add empty output to createrawzerocoinstake commit c5a6a67349ad65d4626a09f7559aeda66a267624 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 05:31:56 2019 +0100 log CWallet::MintToTxIn errors commit 252f4ab43e450d83819c632ed1c296093d37c044 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 03:01:30 2019 +0100 ion_fake_stake: zerocoin prevouts commit 22769817ae95cca134c33391b9df743f6e66be60 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Thu Feb 7 01:56:56 2019 +0100 GetModifier for regtest zPoS hardcoded to prev block stake modifier commit 63bd40e06419d309970d94c9c54196a724339e26 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 00:24:31 2019 +0100 ion_fake_stake: test_spam method refactoring commit 1df92407276689619bcd34948737ba83860b6959 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 21:48:25 2019 +0100 ion_fake_stake: add test descriptions commit 79e746eb3dccba245d716743ded3fdedfb9ebcbe Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Feb 6 21:37:48 2019 +0100 zerocoin mint + spent commit 9eea8837aa76fe07dc3ffecd96fe150541905400 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Feb 6 17:09:38 2019 +0100 half test3 completed commit 23236e7499fb98bd1df49d56cd6d4c3cfda9db56 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 16:34:54 2019 +0100 ion_fake_stake: select test from command line commit 44d2e9a1c22678c600e987a2da468549ba3c2a13 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 15:46:41 2019 +0100 ion_fake_stake: get_prevouts commit 1b27b90e8bc3d7fa4fae349b60252501bcd1bb39 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 13:58:19 2019 +0100 ion_fake_stake Test05 - update blockcount in forks commit 88e0dc644228458bb97cd4d65437310921d9bee1 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 13:51:54 2019 +0100 ion_fake_stake Test05 - more blocks fix commit bf3b732dc5a4dfae622871c82502e454d54d9ae6 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 13:07:29 2019 +0100 ion_fake_stake Test05 - more blocks commit a25f2e84a2c2df6d0fc27c59dbb9362deb8c8ed7 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Feb 6 12:00:16 2019 +0100 ion_fake_stake Test05 commit 427f2f168b9dfb11ebc7edaa29813db3ed49d1cc Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Feb 5 22:12:09 2019 +0100 test05 completed, rejection of double spend coin stake input on the same block on main/forked chain commit 3cbf43e7db151309c724978ac309ea0bc19368e4 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Feb 5 17:50:17 2019 +0100 test05 commit f7a48260c63ff6f1a0a5817298eb6c9597c59844 Author: random-zebra <random.zebra@protonmail.com> Date: Tue Feb 5 16:42:51 2019 +0100 Add 'createrawzerocoinstake' method commit 70d859e0552e5213c082706bef4562e804104567 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Feb 5 12:18:36 2019 +0100 test_02 working good. commit ed63600142da846755d3f820be2f4afaec208929 Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 4 17:15:41 2019 +0100 ION_fake_stake: zerocoin tests commit 07b981af8819bc7f88f30bfa7f1f74481645646c Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 4 13:12:55 2019 +0100 no time validation for regtest commit 47c2c65721598fb42bc85f13b2a6661ac071773f Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 4 12:42:12 2019 +0100 import bytes_to_hex on test_02 fix commit c02002bdd48a292f57f03874e3b8a692f22cab4f Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 4 03:02:30 2019 +0100 ION_fake_stake: fix coinstake out value commit 35f09e5d2124b063124f19eef83fe9a6bac35dd5 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 4 03:01:15 2019 +0100 submitblock assertion on test_02 commit d0c0dccff5673648ffe86e1b8f65077b01e26f64 Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 4 02:30:12 2019 +0100 ION_fake_stake: fix coinbase nHeight merge commit 2cf7ae1939f3bae9b4a32aa06ce298f54baa36be Author: random-zebra <random.zebra@protonmail.com> Date: Mon Feb 4 00:17:14 2019 +0100 ION_fake_stake: fix txes in create_spam_block commit ef01bd81418f72908b73c438f0238843e11f6510 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sun Feb 3 17:49:18 2019 +0100 zPoS running on regtest :) commit 5405d1ce2da8372dbd0c54e75cdc2db57661e8a5 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 11 11:43:36 2019 +0100 Zerocoin fixed on regtest & PoS blocks generation fixes. commit 158bd2b215599eaca2d1292fa1d5034dbb03a032 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Jan 29 01:00:12 2019 +0100 regtest PoS generate valid blocks commit 71a3743108b7bed58fb057615a1a05f51dd71dbc Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Wed Jan 30 23:11:48 2019 -0800 Tests: fixup a conditional check for python block creation commit b3950ff436f73c6c43a5ded27c97f9505febd5aa Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Jan 28 02:09:44 2019 -0800 Tests: update nothingatstake test file - reintroduce spam transactions - make disk size usage output in kilobytes - add assertion check after stopping node for disk size usage - do fuckall with the node(s) setup (this was in the original script, but likely doesn't change anything from how I had it previously) commit f40f576eb3f5f4f863796f3693fa61f8f0bd5421 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 11 11:15:22 2019 +0100 stakemodifier fixed for regtest commit 80a2aec5dff50753af89ee1ad975c8a0baa1287a Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Jan 28 02:04:32 2019 -0800 Tests: serialize block signature when present Needed for signing proof of stake blocks commit 9cec3bd2f5b011f45859a229897f2618ee7c434f Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Jan 27 22:36:44 2019 -0800 RPC: hack signrawtransaction to allow signing an already spent input Only works on regtest, obviously commit 5c0f0b99edcadbaa16c6281f067c67db251b6caa Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Jan 26 21:34:58 2019 -0800 WIP: port the test for "fake stake" issue test Currently this is non-functional as the created coinstake transaction cannot be signed properly (passing the transaction to the coin daemon via `signrawtransaction` returns an error) commit b074cd0e42e94895903aa5ac09d754549f8c3cc4 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Jan 26 21:31:08 2019 -0800 RPC: return the used stake modifier in getblock commit 1ffc443ba62b66586f148b6736aeb8c928730550 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Jan 26 21:28:57 2019 -0800 Regtest: mine the correct version blocks Zerocoin rules mandate that block version must be < 4 prior to zerocoin activation height. To prevent erroring on regtest, and still allow for manual/scripted changing of the block version, set some locical defaults . commit 3d588ead42b07c223a1370d09038d17b71f04fa4 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Jan 26 21:15:19 2019 -0800 Tests: Remove whitespace in default conf file commit ebdc552408e748a78fa4273ffd8091a0c3e57da1 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Jan 26 21:14:30 2019 -0800 Fixup the walletdump command and python test commit 37b29c7e618b8ca23faca3a08a870740357116f6 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Fri Sep 21 21:55:58 2018 -0700 [Tests] Add Basic BIP38 RPC functionality test commit c2cfff0a234607acf413b1053c2c0ce260ad6e16 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Wed Sep 19 16:18:58 2018 -0700 Tests: add size field to test json commit 2155506247b19f5cad072953f8892b133938c951 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Wed Sep 19 14:17:50 2018 -0700 Add rpm contrib files commit 4e62dd9ee8d00b016a315dd9f09197d6d9a3cedd Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Tue Sep 18 21:38:19 2018 -0700 Main: reject non-final transactions using nLocktime from entering the mempool. commit 4c71b5694a68ca2c27a88a579aaf21e2fd75dba9 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Tue Sep 18 21:34:07 2018 -0700 [RPC] Ensure Tx/Budget input hashes are of the proper length Transaction and Budget hashes are always 64 characters in length. Return a descriptive error if this is not the case. commit 7d37c1c207b8cb7f69664e5873ba6b882592234d Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Tue Sep 18 21:27:57 2018 -0700 [RPC] Update and harden many raw transaction RPC commands commit 262f76a9d0d853970d40bd1828245d8a66d2ec3d Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Sep 16 22:52:22 2018 -0700 [RPC] Error early when block doesn't start with a coinbase transaction submitblock (used for PoW) can return an error message earlier by checking that the first transaction is a coinbase transaction. This prevents wasting time with running the block through later validation checks that will ultimately fail. commit 7e0476b25a81a442cfb22fea4aa414d7afcd6bec Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Sep 9 12:43:49 2018 -0700 RPC: Add waitforblock/waitfornewblock/waitforblockheight Used in functional tests commit 22bfe7ea2c2904cffc11a45b8535073f30cdf47e Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Thu Jan 18 17:21:03 2018 -0800 [Tests] Initial update for regression test suite tests TOTO: fixup all tests / add new ones commit 93fd9f05019d388e3f50ceb39ced8f2710327fe7 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Nov 19 22:14:51 2017 -0800 Update block generation code to enable regtest mode Also update the icon/splash images for regtest commit 25fc43698b71c9bbd9f8948c9652fc0c8b46b518 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Thu Sep 6 16:46:01 2018 -0700 Build: add test runner packaging to configure commit e1974d23f31589f1c4e07062c7e4214abc281141 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Fri Feb 8 15:32:49 2019 +0100 AcceptBlock() check for double spent serials only on main chain flag. commit babdfb0f26b1733c0969f9106084134c0c774efa Author: random-zebra <random.zebra@protonmail.com> Date: Fri Feb 8 12:11:57 2019 +0100 remove extra debug lines in AcceptBlock commit a9178bc6e0d5deb7b79690bc5f595beb8b19c720 Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 14:55:30 2019 +0100 AcceptBlock: contextual zcspend check on main chain commit 0d49570f208baeee89b0c426541ed4434940ed34 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Thu Feb 7 17:52:39 2019 +0100 AcceptBlock() block stored log removed commit b74921756a3c93e8c9e8569cea68cbda873df10d Author: random-zebra <random.zebra@protonmail.com> Date: Thu Feb 7 13:31:19 2019 +0100 Fix bug on AcceptBlock when pindex is null commit 97c266bd5c99f66006d4f017d6c9f2ad95ab8533 Merge: 6a16049df 45883b9fb Author: furszy <5377650+furszy@users.noreply.github.com> Date: Thu Feb 7 13:19:30 2019 +0100 Merge branch 'invalid_blocks_storage_and_blocks_DoS_spam_filter' of https://github.com/furszy/ION into invalid_blocks_storage_and_blocks_DoS_spam_filter commit 6a16049dfa27f7aba0bdeae4f35660daa734bf42 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Feb 5 22:10:27 2019 +0100 AcceptBlock() reject blocks double spending the coin stake input inside the same block commit ed0dd2a20a87e9de56e9ff33387a8e68043fe840 Merge: 81c7c4764 9f89762dc Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Tue Feb 5 22:31:26 2019 +0100 Merge #802: [Refactor] Remove begin/end_ptr functions 9f89762 [Refactor] Remove begin/end_ptr functions (warrows) Tree-SHA512: 420b7dad43df23876cd891104c8a3f1c557c9dc20fa726c69fe80eaf13b353e4301e8c0abc2abde29896f991dd88aaddc7d19996a3b7287a6244fbfd5700facf commit 45883b9fb6230b40a4358426305da77a20a9fda4 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Feb 5 11:30:58 2019 +0100 AcceptBlock() invalid isBlockFromFork flag commit 81c7c4764cbcb3274509ea65963cecf8eb8bbf63 Merge: 204c038a4 8e86b893a Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Mon Feb 4 20:33:10 2019 +0100 Merge #758: [Depends] Update libsecp256k1 to latest master c6634ef Squashed 'src/secp256k1/' changes from 452d8e4d2..1086fda4c (warrows) Tree-SHA512: 7ebcd89f661b94c7ee52c57c3b1879e5ddf363205b326c8ed442bd4f88765701f22b3413e296519b589a4b0d150488a9dd911459eb9b9834d4e8dde3e21049b1 commit da1b6836a5e11f0fb514ce7364eee2eaa033be3f Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 4 03:47:18 2019 +0100 block spam filter, validate non null nodestate commit 84de55a11ca23bb4cc8e8800358cedf9a8202d60 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Feb 4 00:24:14 2019 +0100 AcceptBlock() isBlockFromFork flag not contemplating prev blocks from forks fixed commit 204c038a4d0f5529787802df9ffe1743b62551d0 Merge: d4762f7e7 5bd855c67 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Feb 3 17:22:55 2019 -0800 Merge #768: [Net] Zerocoin Light Node Protocol 5bd855c673 removing apocaliptic comment (furszy) 95947bb9f7 logprint fixed (furszy) 91780b54cf log new line added + lightxionthread .h/.cpp (furszy) 95da6abadb Incorrect number of arguments for LogPrint(f) statement found. fixed (furszy) d72543ffe3 node_bloom_light_zc invalid if statement fixed (furszy) a9b992adcd remove old comment (furszy) 09ba617e26 remove tab spaces (furszy) d373e1d25a minor updates to PR 768 (random-zebra) 7b2310cad4 Zerocoin Light Node Protocol (furszy) Tree-SHA512: a85026a9626aacff07826d2a7eab198327d82d620fce4d1f64962e6c0158fa4a0c3c5c355aaed94809928fe5dd77e90810244cb04e41152517d48ebcb76d04f2 commit 5bd855c673fb00d8ece468af7db8c89b90e59a00 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Jan 22 17:40:26 2019 +0100 removing apocaliptic comment commit 95947bb9f7b7f5fb3bb86dfa03446cf6ec55dde5 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Jan 21 14:07:06 2019 +0100 logprint fixed commit 91780b54cf5ffba9cd96dc91ec9c7296458198b9 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Mon Jan 21 13:25:09 2019 +0100 log new line added + lightxionthread .h/.cpp commit 95da6abadb97384e2d8ad54e13a351fdbea0a25e Author: furszy <5377650+furszy@users.noreply.github.com> Date: Fri Jan 18 00:37:37 2019 +0100 Incorrect number of arguments for LogPrint(f) statement found. fixed commit d72543ffe3a80108b9b0876036a620e32d921114 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Thu Jan 17 23:08:29 2019 +0100 node_bloom_light_zc invalid if statement fixed commit a9b992adcdcba996982ed6dd38ceb1c418abb35b Author: furszy <5377650+furszy@users.noreply.github.com> Date: Fri Dec 14 11:22:29 2018 +0100 remove old comment commit 09ba617e267e0c52af315933f8bd5a253ece627d Author: furszy <5377650+furszy@users.noreply.github.com> Date: Thu Dec 13 22:03:52 2018 +0100 remove tab spaces tabs removed tabs removed commit d373e1d25a760633ff247492ff4f320938d383b8 Author: random-zebra <random.zebra@protonmail.com> Date: Wed Dec 5 21:11:41 2018 +0100 minor updates to PR 768 commit 7b2310cad4c45548f0fc856c15ac1c805f196b5f Author: furszy <mati_fur@hotmail.com> Date: Thu Nov 8 01:11:11 2018 +0100 Zerocoin Light Node Protocol commit d4762f7e7a6f4c7ed796fa9a574f9f9a95b0c4f9 Merge: 4a8e46a15 2159a5860 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Feb 3 14:40:30 2019 -0800 Merge #763: [Wallet] Add automint address 2159a58601 Add newly created automint addresses to the set (Fuzzbawls) 1c0169e494 Show automint address state in getwalletinfo (Fuzzbawls) 9374d5123b Add RPC command to enable/disable automint address functionality (Fuzzbawls) 0a364d4ff8 Add UI option to enable/disable automint addresses (Fuzzbawls) 72491216cf Add runtime/startup option to disable automint address functionality (Fuzzbawls) 65aefe8021 Add newly created automint addresses to the address book (Fuzzbawls) 6c2df854d9 Ensure wallet is unlocked for createautomintaddress (Fuzzbawls) 4205d57c14 Add automint address (presstab) Tree-SHA512: 76900c564eb6abe3cfa1606559aba4d6725be04126268b06215619fef8f83d58e953985469e2c97086a6cd0e6d60fb9f9e58aca1cee56e1a7bf9668e82c94fa8 commit 4a8e46a15829ae832aefdbf31fb59ad91a5b8870 Merge: a663bccea 189d6a958 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sat Feb 2 17:11:56 2019 -0800 Merge #804: [Depends] Update zmq to 4.3.1 189d6a958e Update zmq to 4.3.1 (Dimitris Apostolou) Tree-SHA512: 0226edb402b0594c616e580fe497d600eb2144d8eba8aa458d8255b093173306ff99429058c356e742896a4ac9ecbf92507b2da5cb16e8aa95c8c52860a20a21 commit 4219339521b5305557a81b538f20871498595e34 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Wed Jan 30 20:53:24 2019 +0100 AcceptBlock() - not accept blocks from a forked chain that exceed the max reorg limit commit 47759e113cb12d5df7f60c13e79debbaef0a427c Author: furszy <5377650+furszy@users.noreply.github.com> Date: Tue Jan 29 16:45:00 2019 +0100 AcceptBlock(), reject invalid PoS stake commit e237823000153ef2b8ea72cc823ef9fd2739d4f0 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sun Jan 27 14:25:48 2019 +0100 validate non null pfrom on blockspamfilter check commit c2e5459dff566a25616688ed0a502a471141c5b5 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sat Jan 26 22:29:22 2019 +0100 AcceptBlock(), serial double spend on the same block validation commit 189d6a958e31e08f212d0a9cddecf257ae4d76f5 Author: Dimitris Apostolou <dimitris.apostolou@icloud.com> Date: Thu Jan 17 18:25:38 2019 +0200 Update zmq to 4.3.1 Addresses https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6250 Signed-off-by: cevap <dev@i2pmail.org> commit 3f5091986c5f0798fd2d234924dea6da29872bd0 Author: furszy <5377650+furszy@users.noreply.github.com> Date: Sat Jan 26 00:48:59 2019 +0100 zPoS validations of forked chains before store them + inputs check on prev split main chain commit 64804b4bee2dda0f27a6f8a39f3a7f0bf0e24a3b Author: furszy <5377650+furszy@users.noreply.github.com> Date: Fri Jan 25 12:26:30 2019 +0100 Invalid blocks from forks stored on disk fix + blocks DoS spam filter. loop through forked blocks fix Invalid blocks from forks stored on disk Fix + Blocks DoS spam filter minor re organization minor cosmetic changes comments commit 9f89762dcc8de13f48c2fdcfd0577ced16df2462 Author: warrows <warrows@gamer666.fr> Date: Wed Jan 23 20:17:54 2019 +0100 [Refactor] Remove begin/end_ptr functions With C++11 these functions are not needed anymore and gracefully replaced commit a663bccea720e3a01607178906d5efed145a6dd8 Merge: 7fa20d69f 7dfa9b27f Author: Mrs-X <Mrs-X@users.noreply.github.com> Date: Mon Jan 21 20:37:12 2019 +0100 Merge #798: [Net] Improve addrman Select() performance when buckets are nearly empty 7dfa9b2 Improve addrman Select() performance when buckets are nearly empty (Pieter Wuille) Tree-SHA512: 64a16dd027174a45931e73c82e04629738b4caca8500d8cb04a1739d5f5529726d3ff27357f0bdf881fc4ccf278a7a6ac2b904e3a7822af32d8dce096ef16dce commit 7dfa9b27f8f3af1407599bc96a58056395278444 Author: Pieter Wuille <pieter.wuille@gmail.com> Date: Thu Aug 6 19:49:19 2015 +0200 Improve addrman Select() performance when buckets are nearly empty commit 2159a5860151df5c4415f245b551112697961be9 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Fri Jan 18 01:33:32 2019 -0800 Add newly created automint addresses to the set Ensures that a wallet restart isn't required after generating a new automint address by adding it to the set. commit 1c0169e494c4d3927ac1ca5776655b2232ec573c Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Jan 14 18:56:25 2019 -0800 Show automint address state in getwalletinfo Adds a new output line to getwalletinfo showing if automint address functionality is enabled or disabled. commit 9374d5123b98d294691667d891eac5cf46857b20 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Jan 14 18:55:06 2019 -0800 Add RPC command to enable/disable automint address functionality This compliments the UI's ability to toggle the state of automint address functionality for CLI/RPC users. commit 0a364d4ff8067517ef555a273084efa74b3ae9d5 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Jan 13 03:27:21 2019 -0800 Add UI option to enable/disable automint addresses This compliments the runtime (command line) option of enabling/disabling the automint address functionality. Option can be toggled on/off without the need to restart the client. commit 72491216cfd1edeb729ed8a585d2432b86983557 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Jan 13 01:20:05 2019 -0800 Add runtime/startup option to disable automint address functionality Defaults to true/enabled commit 65aefe802168ed84784b7fb7a757b8d53c7348a6 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Sun Jan 13 01:17:44 2019 -0800 Add newly created automint addresses to the address book Default account/label is hard-coded to "automint-address" so as to be visually identified in the wallet's GUI. commit 6c2df854d98e634f95d22b7b6117e42962072c42 Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Jan 7 23:03:53 2019 -0800 Ensure wallet is unlocked for createautomintaddress Also changed the return to a simple string (instead of a JSON object) to be consistent with other RPC commands that return just a single address. commit 4008865514afa6ab088281bee998801cd1267d2e Author: warrows <warrows@gamer666.fr> Date: Mon Jan 7 15:24:43 2019 +0100 [Travis] Fix trailing whitespaces commit 87b9809a0981425da3935b585822e5f658c8ea24 Author: warrows <warrows@gamer666.fr> Date: Thu Dec 27 14:02:49 2018 +0100 [UI] Rework proposal frames commit 8b8a712e3c0797dea724b2abe1a03ffac8018790 Author: warrows <warrows@gamer666.fr> Date: Fri Dec 21 11:56:47 2018 +0100 [UI] Add global budget information to governance tab commit f7674fbeebbb31171907c9c225b65ed21f8be0c8 Author: warrows <warrows@gamer666.fr> Date: Thu Dec 20 22:06:06 2018 +0100 [UI] Clean proposal list when updating commit bbf327459438b29a53d691ea221ab9d30b53fa35 Author: warrows <warrows@gamer666.fr> Date: Thu Dec 20 14:34:25 2018 +0100 [UI] Use only one column for Proposal list commit d6c68c6ec452d5b1378d428b508c725da8489bde Author: warrows <warrows@gamer666.fr> Date: Thu Dec 20 11:59:07 2018 +0100 [UI] remove unused textlabel from governance page commit 39eb903817e3dde0dffb137b455588a312a6dafe Author: Fuzzbawls <fuzzbawls@gmail.com> Date: Mon Jun 4 00:36:03 2018 -0700 [Qt] Add basic GUI voting tab to the wallet commit 4205d57c1465fcefbeb3a032f5ffd5af870c4536 Author: presstab <presstab1337@gmail.com> Date: Sun Oct 28 22:25:31 2018 -0600 Add automint address commit 8e86b893a3adfa1d0f7b02a10bbcc24fb1d7fa14 Merge: 63fb77b0a c6634ef06 Author: warrows <warrows@gamer666.fr> Date: Tue Oct 23 11:22:46 2018 +0200 Merge commit 'c6634ef065ceb295522f0d61a3d45d8d53abe51c' into libsecp_update commit c6634ef065ceb295522f0d61a3d45d8d53abe51c Author: warrows <warrows@gamer666.fr> Date: Tue Oct 23 11:22:46 2018 +0200 Squashed 'src/secp256k1/' changes from 452d8e4d2..1086fda4c 1086fda4c Merge #354: [ECDH API change] Support custom hash function 1e6f1f5ad Merge #529: fix tests.c in the count == 0 case c8fbc3c39 [ECDH API change] Allow pass arbitrary data to hash function b00be6505 [ECDH API change] Support custom hash function 95e99f196 fix tests.c in the count == 0 case git-subtree-dir: src/secp256k1 git-subtree-split: 1086fda4c1975d0cad8d3cad96794a64ec12dca4 * travis - fix lint-whitespace.sh for main.cpp and python scripts failing add linearize-data.py, linearize-hashes.py and src/main.cpp to to lint-whitespace whitelist for current commit range. **TODO** - this has to be reverted after PR is merged * snap - refactor snapcraft.yaml - add required faketime - add feature reques, I need help/support, report a bug, report some random issue and testing report links - add link to ioncoincore in description - add link to our githubs mit license - use same routines as in gitian linux config file - uncomment old part with until **TODO** removed * tests - minor fixes in scripts - fix test_gettxoutsetinfo in rpc_blockchain.py - correct config name in util.py * rename testnet v3 comment to v4 in chainparamsbase.cpp * update chain parameters for testnet - set zerocoin header version - initialize fake stake parameters and zerocoin supply before fake stake - disable block enforcing of invalid utxo by setting it for in future - change zerocoin v2 to start 1 block after zerocoin v1 starts - fix ION in comment * fix getblockvalue and ConnectBlock and remove testnet for v4 check - fix segmentation fault for testnet and regtest by fixing rewards and subsidy in getblockvalue - refactor ConnectBlocks fixes for old main chain to pass sync - add new bool rejectBlockExclusion for checking condition - remove testnet as exclusion from version 4 header check * add datadir*/ to .gitignore * update unix build notes * gui - change governance page pink colors to ion's color scheme * more notes for RPC commands and gitian build script Signed-off-by: cevap <dev@i2pmail.org> * update accumulator and accumulator map * zerocoin mint - add missing part to wallet.cpp * fix merging issues for Reduce log spam patch * Reduce log spam New debug category "staking" added with some previous `LogPrintf` messages recategorized to reduce log spam. Also noted both "staking" and "precompute" in the init help message and added them to the "ion" umbrella category. Signed-off-by: cevap <dev@i2pmail.org> * big update - march 2019 almost full src folder has been updated/refactored. Some rpc calls as well as some smaller minor changes have been deleted/commented. This commit is second part of previous big commit of current PR: https://github.com/ioncoincore/ion/pull/141 **TODO** - [ ] readd removed/unmarked rpc calls and check if they are required - [ ] recheck translations as they were updated - [ ] refactor code and bitcoin class - [ ] optionaly, add 4th network testnetold for those who do not want to use new one or if people decide to keep the old - [ ] bump version - [x] update protocol - [x] testlaunch of a new testnet4 network - [ ] test new governance tab - [ ] ??readd?? listtransactions fix - [ ] test new snap routines * some minor fixes after patching (c4b557fc) ref c4b557fc5fdf2558c39082ae51aa7f5446b44f7d * delete .vscode/settings.json * update coins.cpp and coins.h * bump version to edge 3.2.99 - client version - snapcraft and its icons * fix accumulatorcheckpoints.cpp after related zerocoin files were moved to src/xion folder, accumulatorcheckpoints.cpp had to be fixed, as it was changed wrongly to xion/.., because that file moved into the same folder * update hardcoded seeds from chainz explorer * disable lint-whitespace check for current PR * revert old (non working) base58_keys_valid.json - this is required for ion tests and should be adapted before this PR is merged * fix travis - accumulatorcheckpoints.json.h is missing file was missing because it required forced addition due to the ignore list. * update manual pages * fix makefile.am, add validation.h * replace rpc and budget demo addresses to ion's * fix missing dstencode.h in src/Makefile.am * leveldb - fix ecx warning that it is not initialized, intilize it with 0 info: if we do not specify U then variable type would be signed int this commit as well as other commits should be pulled to bitcoin's leveldb * macos - rename Ion-Qt tp ION-qt we propose to change the name from Ion-Qt to ION-Qt on mac os * macos - add missing appName to the macdeployqtplus * tests - fix most tests and set RUN_UNIT_TESTS as true for travis - non working checks or those which require further adaption are marked out - fixed based58 and some other scripts * move transactionsrecord to qt folderm, fix ion-qt.pro, delete dead files * fix masternode value from 9999.99 to 19999.99 which was reverted due to patching * fix VerifySignature failed: Script evaluated without error on block 1013854 - current check is…
- Loading branch information