Commit Graph

22197 Commits

Author SHA1 Message Date
Asher Dawes
b52c5cbf73 correction dir name 2018-08-11 17:36:03 -07:00
Asher Dawes
6c2ea8a2b0 Disabling tests for faster cycles 2018-08-11 17:19:02 -07:00
Asher Dawes
b9709b02c9 gitlab yml fix 2018-08-11 17:18:16 -07:00
Asher Dawes
29a2946c7e gitlab yml fix 2018-08-11 16:52:18 -07:00
Asher Dawes
780fbaebfc gitlab yml fix 2018-08-11 16:49:26 -07:00
Asher Dawes
586f0bd4f1 Adding installer prototype to build pipeline 2018-08-11 16:47:36 -07:00
Asher Dawes
1be399925e Revert "Merge branch 'Asher-Dev' into dev"
This reverts commit 825f311483, reversing
changes made to ecbd54c3b4.
2018-08-11 15:47:54 -07:00
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
Asher Dawes
825f311483 Merge branch 'Asher-Dev' into dev 2018-08-11 13:43:41 -07:00
jl777
674e0bbebb Fix rewards error check 2018-08-11 09:22:26 -11:00
jl777
d043ec4f27 Non-consensus portion of dice bet fix 2018-08-11 09:16:43 -11:00
jl777
9a017060c0 +print 2018-08-11 09:08:34 -11:00
jl777
3dfd10cc1a Merge pull request #811 from jl777/jl777
Jl777
2018-08-11 08:37:42 -11:00
jl777
cf18d2df9d Merge pull request #810 from letolabs/cctests
First cryptoconditions sync
2018-08-11 07:38:16 -11:00
Jonathan "Duke" Leto
012613d7ac Undo this, it should be on a diff branch 2018-08-11 19:24:19 +02:00
Jonathan "Duke" Leto
941619eb46 Make the REGTEST AC special in our test suite, so we get a predictable rpc port number 2018-08-11 19:14:51 +02:00
Jonathan "Duke" Leto
2f1319dcfc Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-11 16:47:51 +02:00
Jonathan "Duke" Leto
88e714577b More rewards tests 2018-08-11 16:47:24 +02:00
jl777
87c2402f54 Merge branch 'dev' into jl777 2018-08-10 20:54:06 -11:00
jl777
4f054db067 Fix reward calc check 2018-08-10 20:53:43 -11:00
jl777
844fd9e5b5 Merge pull request #809 from jl777/dev
Dev
2018-08-10 20:26:16 -11:00
jl777
f319b61363 Merge pull request #808 from jl777/jl777
Jl777
2018-08-10 20:25:41 -11:00
jl777
076a9ee19b -MGNX exception 2018-08-10 20:24:50 -11:00
Jonathan "Duke" Leto
15b76bd76a More rewards tests 2018-08-11 08:58:56 +02:00
Jonathan "Duke" Leto
efa644f28e Add some rewards tests 2018-08-11 08:21:32 +02:00
Jonathan "Duke" Leto
03fb3946a1 Fix various return values which should be std::string 2018-08-11 07:18:31 +02:00
Asher Dawes
ecbd54c3b4 Merge remote-tracking branch 'origin/dev' into dev 2018-08-10 21:56:14 -07:00
Asher Dawes
ef8ba57758 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-10 21:39:27 -07:00
Asher Dawes
ba75985e5d updating versions 2018-08-10 19:08:06 -07:00
Asher Dawes
f2c103207f 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
2018-08-10 17:44:52 -07:00
Michael Toutonghi
3ef36c2f88 Fix check for stake transaction after Komodo merge 2018-08-10 17:29:40 -07:00
Michael Toutonghi
3c40a9a667 Fail on get_chainactive before lock if checks fail 2018-08-10 17:21:41 -07:00
Jonathan "Duke" Leto
f1084b8898 Refactor faucet/rewards/dice/token tests into their own functions 2018-08-11 00:34:38 +02:00
Jonathan "Duke" Leto
b5d4eaf3ab Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 23:45:24 +02:00
jl777
7a0727d585 Filter out CC utxo for normal add inputs 2018-08-10 10:37:00 -11:00
Jonathan "Duke" Leto
ae55065235 Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 19:55:24 +02:00
jl777
1ed46fb837 return("") for std::string 2018-08-10 05:16:48 -11:00
jl777
309ee4e3a1 Return string in faucet 2018-08-10 05:13:14 -11:00
Jonathan "Duke" Leto
9b30af9799 Fix bug in FaucetGet where it returns an int instead of a string 2018-08-10 18:10:21 +02:00
jl777
0c3cdfb4f3 MAX APR to 25*COIN == 25% 2018-08-09 22:45:53 -11:00
Jonathan "Duke" Leto
ba0f55ac2f Add tests for tokencreate and rewardsaddress 2018-08-10 10:46:07 +02:00
Jonathan "Duke" Leto
4adca0ce76 Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 09:26:22 +02:00
jl777
2b6315fd13 Fix utxo selection 2018-08-09 20:24:33 -11:00
Jonathan "Duke" Leto
a6a826c625 Add more tests, fails sometimes still due to bad-txns-inputs-duplicate 2018-08-10 09:23:04 +02:00
Asher Dawes
a491b97f4e Merge pull request #104 from VerusCoin/master
updating versions
2018-08-10 00:04:16 -07:00
Asher Dawes
64cdd60ea3 Merge branch 'dev' into master 2018-08-10 00:04:07 -07:00
Jonathan "Duke" Leto
7b9e2b3c60 faucetget tests 2018-08-10 08:40:28 +02:00
jl777
0d84fb208e Error check add inputs loop 2018-08-09 19:38:55 -11:00
jl777
984a9dc30a %% 2018-08-09 19:33:02 -11:00
jl777
59da6d30dd REWARDSCC_MAXAPR and use int64_t for all coin values 2018-08-09 19:31:25 -11:00