Commit Graph

52 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
jl777
97343f3d77 Handle MoMdepth overflow 2018-04-27 15:18:28 +03:00
jl777
593f9a7075 iguana_merkle needs 3x men 2018-04-27 13:29:25 +03:00
jl777
22d345ec44 syntax 2018-04-27 13:17:48 +03:00
jl777
b0fa5bad4d calc_MoM 2018-04-27 13:16:37 +03:00
jl777
28b18b6127 Test 2018-04-21 16:55:03 +03:00
jl777
3b03fd34e8 Ccdata 2018-04-17 18:08:57 +03:00
jl777
0e32bd33e6 Test 2018-04-17 14:22:49 +03:00
jl777
c9cfa52798 Test 2018-04-13 19:07:41 +03:00
jl777
5500c8bae1 Test 2018-04-13 19:02:20 +03:00
jl777
30d10c2daa Fix maxpairs return 2018-04-13 10:29:40 +03:00
Jonathan "Duke" Leto
622c9e4eef fix 2018-04-12 14:52:33 -07:00
Jonathan "Duke" Leto
f2173f8cf9 Prevent core dumps from invalid maxpairs 2018-04-12 14:24:21 -07:00
jl777
667a4eb3fa Test 2018-04-12 20:35:36 +03:00
jl777
20eaf8aaf3 Test 2018-04-12 20:25:23 +03:00
jl777
e256321578 Test 2018-04-12 20:15:42 +03:00
jl777
dfd07d7878 Reorg ccdata 2018-04-12 20:13:36 +03:00
jl777
a38211a558 Test 2018-04-12 19:42:47 +03:00
jl777
e7c626c272 Test 2018-04-12 19:34:46 +03:00
jl777
0fc4228175 Have MoMoMdata use allMoMs 2018-04-12 19:33:36 +03:00
jl777
7216ff557a Test 2018-04-12 18:52:16 +03:00
jl777
26770acc81 Test 2018-04-12 18:50:03 +03:00
jl777
5740b2aa6b Add allMoMs 2018-04-12 18:45:25 +03:00
jl777
5877c76ea2 Test 2018-04-12 18:02:32 +03:00
jl777
becfd453e9 Test 2018-04-12 17:53:20 +03:00
jl777
2f9b6804d7 Test 2018-04-12 17:52:30 +03:00
jl777
0a1455d21d Debug 2018-04-12 17:20:53 +03:00
jl777
9a92a030d6 Debug 2018-04-12 17:11:32 +03:00
jl777
0ecf070716 Fix 2018-04-12 16:52:21 +03:00
jl777
b54773f0d7 fix... 2018-04-12 16:50:49 +03:00
jl777
69145d3327 Fix 2018-04-12 16:48:36 +03:00
jl777
d1bd47e4f1 fix... 2018-04-12 16:47:32 +03:00
jl777
d67bdfe936 fix... 2018-04-12 16:45:10 +03:00
jl777
208608d2f3 Test 2018-04-12 16:40:48 +03:00
jl777
3c302435c9 Fix... 2018-04-12 16:39:28 +03:00
jl777
1b491957e4 Fix syntax errors because I don't know C++ well enough to type 1000 lines of code without syntax errors 2018-04-12 16:35:37 +03:00
jl777
51dab14914 MoMoM code complete 2018-04-12 14:41:39 +03:00
jl777
9973e12ebb Test 2018-04-12 12:18:06 +03:00
jl777
d1fb566733 Prints 2018-04-12 12:12:53 +03:00
jl777
1f21e3a31f Test 2018-04-12 12:12:02 +03:00
jl777
b11b284526 +print 2018-04-12 12:03:29 +03:00
jl777
b71e57a482 Fix 2018-04-12 11:49:33 +03:00
jl777
acee891f56 Test 2018-04-12 11:47:23 +03:00
jl777
fb9c365218 Calculate MoMoM 2018-04-12 11:44:28 +03:00
jl777
d269d79ecc Test 2018-04-12 00:37:37 +03:00
jl777
b007d0b00a Test 2018-04-11 23:28:59 +03:00
jl777
5c88890539 Test 2018-04-11 23:24:58 +03:00
jl777
90b5b4fdc8 Test 2018-04-11 22:02:53 +03:00
jl777
fff8f48a35 Test 2018-04-11 18:48:12 +03:00
jl777
9c525cd435 Test 2018-04-11 18:47:12 +03:00