Commit Graph

12730 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
Asher Dawes
b1a8ac9db0 Correcting syntax errors on debug
saving progress on verus-cli windows InstallBuilder configuration xml
2018-07-07 23:04:07 -07:00
Asher Dawes
2d98bcf949 debugging 2018-07-07 21:44:59 -07:00
Asher Dawes
d65488bf98 troubleshooting komodod on legacy hardware running Windows 2018-07-07 21:23:53 -07:00
Asher Dawes
40547f3e6f Debugging Windows komodod crash on legacy hardware that does not support AES or AVX instructions.
Removing deploy steps in Travis-CI to use as a sanity check on Github
2018-07-07 20:29:12 -07:00
Michael Toutonghi
7756dac0c7 Merge branch 'dev' of https://github.com/veruscoin/veruscoin into dev 2018-07-06 14:17:12 -07:00
Michael Toutonghi
9ec211d18b use portable load_constants 2018-07-06 14:16:25 -07:00
Asher Dawes
6116053b72 Asher dev (#84)
* Updating GitLab CI config/ versions
2018-06-27 20:04:15 -07:00
Asher Dawes
7e7ea6e7b3 Merge pull request #79 from VerusCoin/dev
Fix synchronization bottleneck for high core machines
2018-06-27 13:18:24 -07:00
Michael Toutonghi
6976734769 Fix synchronization bottleneck for high core machines 2018-06-27 12:49:32 -07:00
miketout
1ecd8b12df Merge pull request #78 from VerusCoin/dev
Radical hash rate optimization
2018-06-26 08:07:37 -07:00
Michael Toutonghi
4dcb64c081 Radical hash rate optimization 2018-06-26 07:39:50 -07:00
miketout
c0fc3108de Merge pull request #75 from verus-stuff/fix_progress
Fix progress estimate by fixing checkpoint data
2018-06-25 23:13:34 -07:00
Jonathan "Duke" Leto
6a7ef35d8c Fix progress estimate by fixing checkpoint data
The number of transactions since the last checkpoint block was set to
over 100K, but there were no checkpoint blocks other than genesis,
and the timestamp of last checkpoint block was incorrect as well. These
led to the progress indicator always being very close to zero.

This adds checkpoint blocks rougly every 10K blocks and corrects the
other metadata.
2018-06-25 00:24:45 -07:00
Asher Dawes
2503333c6f Merge pull request #73 from VerusCoin/dev
Fix importaddress with rescan error that prevented picking up UTXOs
2018-06-24 13:58:45 -07:00
David Dawes
058156b84b Build verus-cli, get dependencies nailed down. (#72)
* Build verus-cli, get dependencies nailed down.

* Fiddling about with scripts.

* Clean READMEs up a bit.
2018-06-24 13:25:27 -07:00
Michael Toutonghi
1a0fc30896 Fix importaddress with rescan error that prevented picking up UTXOs 2018-06-23 15:03:44 -07:00
Asher Dawes
e64b7687de Merge pull request #67 from VerusCoin/dev
Use portable hash for staking
2018-06-19 11:46:53 -07:00
Michael Toutonghi
fa733d13fa Use portable hash for staking 2018-06-17 14:58:06 -07:00
David Dawes
67edc9df03 Another __cpuid() conflict. 2018-06-16 17:31:54 -07:00
David Dawes
8d3dd709da Remove another __cpuid conflict. 2018-06-16 17:19:25 -07:00
David Dawes
033cd36e5b Merge branch 'dave-dev' of github.com:VerusCoin/VerusCoin into dave-dev 2018-06-16 17:09:30 -07:00
David Dawes
553727a86b Fiddling with __cpuid 2018-06-16 17:08:59 -07:00
David Dawes
4b054f2494 Undo the changes 2018-06-16 16:24:20 -07:00
David Dawes
16201a68c7 Undo inadvertent delete 2018-06-16 16:23:42 -07:00
David Dawes
3fd40915ac Approach not helping, trying the other direction. 2018-06-16 16:13:37 -07:00
David Dawes
8ef8d54b0d Unsigned, dang it. 2018-06-16 15:52:30 -07:00
David Dawes
c5a53ecb24 Use Windows specific __cpuid() for Windows. 2018-06-16 15:45:01 -07:00
David Dawes
87bbf1bfe5 Merge pull request #58 from VerusCoin/dev
Portable VerusHash and CPU check
2018-06-16 14:58:03 -07:00
Michael Toutonghi
5296a85018 Portable VerusHash and CPU check 2018-06-16 14:51:13 -07:00
David Dawes
c95749c8d2 Merge pull request #53 from VerusCoin/dev
Mikes latest optimizations
2018-06-10 00:17:25 -07:00
Michael Toutonghi
20ab1c9174 mining performance boost 2018-06-10 00:12:28 -07:00
David Dawes
8b54d943ff Merge pull request #43 from VerusCoin/CI
CI updates and Mikes last fix, some README tweaks.
2018-06-03 18:13:45 -07:00
David Dawes
3451a2984a Merge pull request #41 from verus-stuff/viewingkeys
Add missing ZCVIEWING_KEY to base58Prefixes
2018-06-03 18:12:21 -07:00
Jonathan "Duke" Leto
b68a172c13 Add missing ZCVIEWING_KEY to base58Prefixes 2018-06-03 09:42:13 -07:00
Michael Toutonghi
cf98848cd4 return 0 for hash rate rather than stale value when not generating 2018-06-03 09:19:41 -07:00
Michael Toutonghi
36d8ef6b7b Fix "setgenerate true 0" to properly stake 2018-06-02 23:01:58 -07:00
Michael Toutonghi
ce379cf71a Erase failed stake transaction from wallet to prevent slow return and loss of stake age 2018-06-01 07:29:34 -07:00
Michael Toutonghi
cc1ae28b0c Made time locked addresses visible 2018-05-28 12:45:22 -07:00
Michael Toutonghi
3a868069d3 update build file that missed checkin 2018-05-27 20:26:42 -07:00
Michael Toutonghi
b89966b0d3 Merge branch 'dev' of https://github.com/veruscoin/veruscoin into dev 2018-05-27 20:00:18 -07:00
Michael Toutonghi
c6e2184378 post launch release readiness 2018-05-27 19:59:23 -07:00
David Dawes
4532d437a4 Attepting to fix typing issue on Mac. 2018-05-26 12:37:20 -07:00
Michael Toutonghi
bcb23c06e7 Reset array count to zero 2018-05-26 12:07:41 -07:00
Michael Toutonghi
bf21e4b7af fix build to operate fine until block 12800, where we will need to switch over 2018-05-26 11:48:52 -07:00
Michael Toutonghi
8abe764b18 Disabled test only state 2018-05-26 04:02:10 -07:00
Michael Toutonghi
74329e19f8 Multiple changes for critical update, including random locks and activation at 12800. Test for utxos. 2018-05-26 04:00:17 -07:00
Michael Toutonghi
4a1afe0bc5 fix build break from accidental edit 2018-05-25 22:32:05 -07:00
Michael Toutonghi
c1e7194760 fix coinbase spend after 10080 & seg fault 2018-05-25 21:52:53 -07:00
Michael Toutonghi
da45808f5f Fix bash scripts for running verus daemon and cli 2018-05-25 20:48:22 -07:00