Commit Graph

744 Commits

Author SHA1 Message Date
Asher Dawes
5f48c77923 Updating branch (#108)
* Fix

* -print

* Filter null outputs

* Rewards cc

* Fix

* Linker

* Fix

* Fix

* KOMODO_LONGESTCHAIN

* Mining_height

* Fix dropped assetoshis

* Error null CCvin

* Test

* Test

* Test

* Fix sell

* Fix order book prints

* )

* Test

* Test

* Fix order display

* Fix oops

* Fix duplicate vin

* Remove dust check

* Fix silly bug

* Test

* Test

* Fix

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous

* Fix compiler error: call of overloaded 'Pair(const char [9], time_t)' is ambiguous

* Correctly parse optional top parameter to getsnapshot

* Fix token orders crash

* Add SEC to assetchains.json

* Split amounts/validation: bid, ask, swap

* Fixes

* Test

* Test

* Test

* Test

* +print

* Test

* Test

* Test

* Test

* Test

* Test

* SMALLVAL

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Properly handle multiple vins funding fills

* Test

* Test

* Test

* Test

* Fix ask fill dest

* Test

* Rewards functions

* Fix

* Test

* Params to rewardscalc

* Create funding, addfunding, lock

* Test

* +print

* tokenswapask

* Test

* Test

* Swap functions

* ac_cc under 1000 is not fungible

* Allow to cancel invalid orders

* Prevent negative numbers in assets tx

* Uint64 -> int64

* Fix oops

* Prevent bid for nonexistent assetid

* Error check bidding for assetid that is txid but not asset creation

* Fix

* Fix

* Add pause if scriptcheckqueue isn't idle

* Fix

* -> -> .

* Fix

* Test

* VOBJ

* Tokeninfo rpc

* Asset list

* Test

*             strcpy(cp->normaladdr,AssetsNormaladdr);

* Fix

* Rewardslist rewardsinfo

* Fix

* Fix

* Fix

* Vent

* fix

* Int64

* Int64

* Fix createfunding

* Fix false positive error

*     sbits = stringbits(planstr);

* Fix maxmoney

* Fix funding name

* Test

* Print

* CCutoxvalue

* Fix rewardslock utxo selection

* New PoW diff calc

* tst

* Test

* Oldflag for PoW calc

* Test

* Test

* tst

* Test

* Test

* Filter locked utxo

* Test

* Fix PoW recalc

* Test min seconds

* int64_t CCduration(uint256 txid)

* Test

* Test

* Test one day

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Prevent inputs of CC inputs

* Test

* tst

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* New rewards address

* Fix mask

* Test

* Test

* Test

* Test

* Test

* Test

* Teest

* Stricter vin/vout checks for assets

* Token swap ready for testing

* Fix rewards unlock

* Fix

* Test

* Validate rewards

* Test

* Trim funding input

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Test

* Activate CCduration constraint

* Parameterize KOMODO_FIRSTFUNGIBLEID to 100

* +print

* Test

* Test

* Test

* Test

* Fix c script

* Test

* Initial dice morph from rewards.cpp

* Fix

* Test

* Fix

* Test

* Diceaddfunds

* Fix

* Dice list and dice info

* dicefund

* Dice bet

* Test

* Test

* Put process block's check block call inside lock, revert mining testblockvalidity outside lock

* Don't exit fiat-cli on error

* Docs for coinsupply RPC and improved error-checking on block height

* Version to 0.3.12-beta.

* Change version to 0.3.12 for gilab CI.

* Put undefines for _cpuid back.

* Network decentralizatoin and bug fixes

* Remove unnecessary staking delay

* Staking and mining timeing improvements

* Put staking readout once per staking loop so people know it's staking

* Fail on get_chainactive before lock if checks fail

* Fix check for stake transaction after Komodo merge

* Portable dev (#105)

* Force portable code

* Switch to old MMX instructions, avoiding SSE & SSE2 instructions.

* Less agressive, leave verus code (which checks for it) using advanced instructions.

* Compiling only for windows

* Update .gitlab-ci.yml

* Try -march=native for C++ code generation.

* Tweaking machine architecture settings.

* Try native alone.

* Also get LIBCRYPTOCONDITIONS to -march=native

* Switch other lib to native as well.

* Try switching back further for CPU architecture.

* Even lower end settings.

* Turn on symbols.

* Use sse2,3 and 4 capable x64.

* Once again let verus lib use advances instructioins since it checjs via CPUID at run time.

* Modify a few more makefile entries.

* Switch to AMD model similar to our test system.

* Get snark makefile to k8 too.

* Yet another -march to modify to k8, or two of them.

* Brute force k8 settings, comment non-portable code out.

* Put the condition on cpuid back.

* Put non-portable advenced instruction code back

* Enable instructions.

* Add lib for separate settings.

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* replacing k8-sse3 specific flags to x86-84

* updating versions

* updating versions

* Get verus-cli verusd updated (#106)

* Force portable code

* Switch to old MMX instructions, avoiding SSE & SSE2 instructions.

* Less agressive, leave verus code (which checks for it) using advanced instructions.

* Compiling only for windows

* Update .gitlab-ci.yml

* Try -march=native for C++ code generation.

* Tweaking machine architecture settings.

* Try native alone.

* Also get LIBCRYPTOCONDITIONS to -march=native

* Switch other lib to native as well.

* Try switching back further for CPU architecture.

* Even lower end settings.

* Turn on symbols.

* Use sse2,3 and 4 capable x64.

* Once again let verus lib use advances instructioins since it checjs via CPUID at run time.

* Modify a few more makefile entries.

* Switch to AMD model similar to our test system.

* Get snark makefile to k8 too.

* Yet another -march to modify to k8, or two of them.

* Brute force k8 settings, comment non-portable code out.

* Put the condition on cpuid back.

* Put non-portable advenced instruction code back

* Enable instructions.

* Add lib for separate settings.

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* Update .gitlab-ci.yml

* replacing k8-sse3 specific flags to x86-84

* updating versions

* Propagate verusd changes.
2018-08-11 13:43:52 -07:00
Michael Toutonghi
6976734769 Fix synchronization bottleneck for high core machines 2018-06-27 12:49:32 -07:00
Michael Toutonghi
4dcb64c081 Radical hash rate optimization 2018-06-26 07:39:50 -07:00
Michael Toutonghi
5296a85018 Portable VerusHash and CPU check 2018-06-16 14:51:13 -07:00
Michael Toutonghi
20ab1c9174 mining performance boost 2018-06-10 00:12:28 -07:00
David Dawes
52cf66e138 Add conditional compiulation for Windows fix. 2018-05-24 20:28:26 -07:00
Michael Toutonghi
8626f66679 Fix build from some error across source machines 2018-05-22 17:40:24 -07:00
Michael Toutonghi
cd230e37ff Staking improvement 2018-05-22 13:40:16 -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
dbe656fe39 Significant mining optimization and POS DAA modification 2018-05-19 18:34:46 -07:00
Michael Toutonghi
c132b91a01 More testing for header transfers 2018-05-16 05:29:49 -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
1fae37f6bf Working proof of stake with new algorithm 2018-05-15 00:54:18 -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
135fa24e0f Integrate new proof of stake support 2018-05-09 21:40:17 -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
jl777
de230f5e75 Test 2018-05-08 19:05:38 +03:00
jl777
e37664a90f Test 2018-05-08 19:00:21 +03:00
jl777
ba1587fd37 Test 2018-05-08 18:55:16 +03:00
jl777
9703f8a03d Test 2018-05-08 18:43:08 +03:00
jl777
bed8cd1f49 Test 2018-05-08 18:38:51 +03:00
jl777
596b05baf2 Test 2018-05-08 18:05:21 +03:00
jl777
26810a265b Test 2018-05-08 18:03:43 +03:00
jl777
99e3046307 Test 2018-05-08 18:02:57 +03:00
miketout
68334c8dae Fix incorrect validations of block transactions 2018-05-07 10:29:43 -07:00
jl777
01fda4c148 Test 2018-05-07 19:14:54 +03:00
jl777
0857c3d5d4 Test 2018-05-07 19:08:15 +03:00
jl777
c670f02491 Test 2018-05-07 17:39:31 +03:00
jl777
f31815fc3c Test 2018-05-07 17:39:01 +03:00
jl777
3ed2e7334c Test 2018-05-07 17:07:38 +03:00
jl777
f4eece4ae1 Test 2018-05-07 16:26:03 +03:00
jl777
ff2277af4e Test 2018-05-07 16:25:44 +03:00
jl777
79e1814e1c Test 2018-05-07 16:11:30 +03:00
jl777
5ea06d80de Test 2018-05-07 16:11:07 +03:00
jl777
d6e4204114 Test 2018-05-07 16:10:45 +03:00
jl777
05f8c23767 Test 2018-05-07 16:07:04 +03:00
jl777
a9bad5a300 test 2018-05-07 15:47:18 +03:00
jl777
f8fb4922da Test 2018-05-07 14:14:12 +03:00
jl777
a893e99499 Test 2018-05-07 13:59:44 +03:00
jl777
496f1fd267 Test 2018-05-07 13:57:43 +03: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
6176a4215a Improve mining startup and display 2018-05-06 15:44:40 -07:00
miketout
a62041d987 Better synch display in mining 2018-05-06 14:41:03 -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