Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
544 commits
Select commit Hold shift + click to select a range
bec71d3
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Oct 27, 2022
9442838
added missing native_clang depends
dekm Oct 28, 2022
2959e87
test jammy build focal cannot find repos
dekm Oct 28, 2022
10edeeb
missing some jammy in build.py
dekm Oct 28, 2022
07a0023
build with kinetic
dekm Oct 28, 2022
63cdfdf
ms: added -hport as an argument in for unigridd.
Fim-84 Oct 28, 2022
79bd7b0
focal appears to be the only docker container that builds correctly
dekm Oct 31, 2022
d32b4ba
ms: added mint class to handel values from hedgehog. did some cleanup.
Fim-84 Oct 31, 2022
c5ac460
test building with g++9 linux
dekm Oct 31, 2022
840fded
test if reverting to c++14 builds work
dekm Oct 31, 2022
00ce012
upgrade build.sh to use focal base VM. Remove some uneeded dependenci…
dekm Nov 1, 2022
95a9526
ms: fixed compilation error
Fim-84 Nov 1, 2022
0f6a2cf
use jammy for builds and test building with c++17 or 20 if available
dekm Nov 1, 2022
67dc16f
force c++17
dekm Nov 1, 2022
a586ef6
don't check clock_gettime by default
dekm Nov 1, 2022
a643b20
docker still cannot find ubuntu jammy revert to focal
dekm Nov 1, 2022
dae4787
fdelt is required
dekm Nov 1, 2022
3adfcae
aarch64 required to compile
dekm Nov 1, 2022
c391302
disable arm build
dekm Nov 1, 2022
4c08b9d
test disable glib backward support
dekm Nov 1, 2022
4f4a434
darwin builds were missing libtapi. native_cdrkit replaced with xorriso.
dekm Nov 2, 2022
01ba48b
change order of native_libtapi
dekm Nov 2, 2022
1c5d283
libtapi and clang are split out of cctools
dekm Nov 2, 2022
f5bf4e5
darwin unable to find glibtoolize
dekm Nov 2, 2022
f727d5f
upgrading boost and remove references to specific darwin versions
dekm Nov 2, 2022
0142309
split boost into build/host
dekm Nov 2, 2022
0b67fb4
boost fail build on linux
dekm Nov 2, 2022
9605796
define minimum required boost
dekm Nov 2, 2022
124c541
adding missing required boost libraries after updating boost version
dekm Nov 2, 2022
9150c9b
errors building with boost 1.73.0 revert back to 1.71.0
dekm Nov 2, 2022
554b584
wrong xcode version in darwin build
dekm Nov 2, 2022
ed92b89
up boost version to 1.73.0
dekm Nov 3, 2022
9fe0817
test building with boost 1.80.0
dekm Nov 3, 2022
875b2b5
remove unused dependency and set min boost version
dekm Nov 3, 2022
9445304
upgrading boost requires more refactoring
dekm Nov 3, 2022
cc48f76
ms: rewrote the rest client so its now working and getting json data …
Fim-84 Nov 4, 2022
b4338d6
test if building osx works with c++11
dekm Nov 4, 2022
dac2442
c++11 build fails on the rest client test to see if c++17 resolves th…
dekm Nov 4, 2022
2453587
ms: removed auto keyword
Fim-84 Nov 4, 2022
d206249
accidental edit of robin-hood submodule
dekm Nov 4, 2022
55b133c
use 12.2 osx sdk
dekm Nov 4, 2022
36c10e3
use 12.2 osx sdk for gitian-builder
dekm Nov 4, 2022
b30f9d2
proper cheksum of Xcode
dekm Nov 4, 2022
982ad0b
ms: changed return type to bool to check if data got tranferd as expe…
Fim-84 Nov 4, 2022
f05f249
checksum was not correct
dekm Nov 4, 2022
fec0b90
remove downloaded sdk
dekm Nov 4, 2022
4492d4b
attempted build with boost 1.80
dekm Nov 4, 2022
710382b
ms: reverted c++ version to 14 from 17
Fim-84 Nov 4, 2022
7b17ea9
revert to c++14 and downgrade boost
dekm Nov 4, 2022
65edf02
configure.ac set c++14
dekm Nov 4, 2022
0d93cbf
Merge branch 'EG_uposx_12_1' into ms_restclient
dekm Nov 4, 2022
4b032a8
ms: rest client done. started work on hadeling locking of tokens
Fim-84 Nov 7, 2022
e921ddc
ms: blocks transactions from minted addresses
Fim-84 Nov 10, 2022
2db8497
ms: mint hedgehog supply
Fim-84 Nov 10, 2022
4eccaa8
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Nov 10, 2022
70b22f0
Eg refactormasternode (#8)
dekm Nov 12, 2022
b2faf99
build environment should be bionic
dekm Nov 12, 2022
d0dab6a
fix compiler error for unsupported c++
dekm Nov 12, 2022
151eeee
target is needed here
dekm Nov 14, 2022
4cfb659
move CheckIfLockPeriodIsActive where bools are declared
dekm Nov 14, 2022
2660d51
remove {} from return
dekm Nov 14, 2022
4c0ea5a
ms: last check for minted amount added.
Fim-84 Nov 14, 2022
74ce46f
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Nov 14, 2022
2c311f9
remove broken code
dekm Nov 14, 2022
c548c5f
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Nov 14, 2022
163cc6a
ms: changed colleteral amount to 2000.
Fim-84 Nov 14, 2022
c48cd79
ms: started working out a way to start a new chain to test
Fim-84 Nov 15, 2022
879a5b2
set start time for zerocoin in the future so testnet does not look fo…
dekm Nov 15, 2022
7338b91
pass chain height to get best block
dekm Nov 15, 2022
eb13a6a
remove duplicate regtest
dekm Nov 15, 2022
06c9cbc
height is a method
dekm Nov 15, 2022
b1ac977
missing )
dekm Nov 15, 2022
77a0dd6
add echo
dekm Nov 15, 2022
fb4c42a
log chain height
dekm Nov 15, 2022
3ab8be6
height is -1 at the start
dekm Nov 15, 2022
d028cc5
pass height to assert
dekm Nov 15, 2022
a828b1b
assert only if not on genesis
dekm Nov 15, 2022
19299d4
or on assert check
dekm Nov 15, 2022
402b76f
asset if -1 is true
dekm Nov 15, 2022
038f019
print blockhash
dekm Nov 15, 2022
9f770f0
accidental overwrite in last commit
dekm Nov 15, 2022
ad1c6cd
output GetBestBlock
dekm Nov 15, 2022
f1f1068
convert best block to string
dekm Nov 15, 2022
e8f69bc
print cacheCoins
dekm Nov 15, 2022
78277d2
print cacheCoins
dekm Nov 15, 2022
795bef2
tray creating coins view with blockhash -1
dekm Nov 15, 2022
263d29f
misc
Fim-84 Nov 16, 2022
e23b2a6
ignore assert for flush if block height -1
dekm Nov 16, 2022
656f8cc
move initialize calls before InitBlockIndex
dekm Nov 16, 2022
e42630e
undo last commit
dekm Nov 16, 2022
9be4b2d
getting test net working
Fim-84 Nov 16, 2022
26c5bdb
fixed conflicts
Fim-84 Nov 16, 2022
8bff29c
ms: uncommented stuff
Fim-84 Nov 16, 2022
5c58fc6
refactor the test file to unigrid
dekm Nov 17, 2022
7a0f558
hard code in a testnet seed node
dekm Nov 17, 2022
7059b3b
vSeeds needs to clear for testnet
dekm Nov 17, 2022
8231b3e
adding two hard coded seed nodes for testnet
dekm Nov 17, 2022
4ad847a
refactor all Gridnode names in rpc to gridnode
dekm Nov 17, 2022
2c524f4
set testnet to mine up to block 2000 and lower gridnode collateral to 10
dekm Nov 17, 2022
4fe54b0
update chainparams with devPubKey and set max coins the same value as…
dekm Nov 18, 2022
75f0f18
set gn amount to 100
dekm Nov 18, 2022
4f50e71
use Params().GridnodeCollateral() for gn collateral
dekm Nov 18, 2022
a03b59f
change max money out back to testnet defaults
dekm Nov 18, 2022
f9bbbf4
set max money out at 25000000000 there appears to be a pre-mine on fi…
dekm Nov 18, 2022
949136a
set testnet node collateral to the same as mainnnet. Also the max mon…
dekm Nov 19, 2022
f9bcea9
removing code referencing bitcoin blocks
dekm Nov 19, 2022
2651aa4
set mainnet back to current collateral
dekm Nov 22, 2022
9eef073
fix bootstrap download
dekm Nov 22, 2022
dd31657
update download bootstrap check
dekm Nov 22, 2022
30335bf
added a line break as removing the addnodes placed unigridstake on th…
dekm Nov 22, 2022
fc5a648
last pow testnet 20 and comment out block rewards for testnet
dekm Nov 23, 2022
b36e2c2
set downloadBootstrap to false if passed in as the value is never set
dekm Nov 23, 2022
fd63e1a
switch check flag for download
dekm Nov 23, 2022
d9c38fd
add some outputs on what is happening with the bootstrap download
dekm Nov 23, 2022
8cda5a4
reverse download check
dekm Nov 23, 2022
39d10ec
set flag for download only true
dekm Nov 23, 2022
504ee23
log nobootstrap arg
dekm Nov 23, 2022
31c0098
only check for bootstrap if not testnet
dekm Nov 23, 2022
4ef2245
lower block maturity and increase mining to 30 blocks
dekm Nov 23, 2022
593533f
ms: got testnet staking
Fim-84 Nov 25, 2022
3f934b0
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Nov 25, 2022
0fefee0
set last POW to 50 as modern cpus will mine the last block too fast
dekm Nov 25, 2022
333b93d
ms: fixed overflow error in amount in mint.
Fim-84 Nov 25, 2022
cc19fb7
test whether staking still works with gridnodeSync
dekm Nov 26, 2022
5587898
change addnode to connect. We don't want this test network connecting…
dekm Nov 26, 2022
c622144
script was tring to remove swipp items instead of unigrid
dekm Nov 26, 2022
cd8b97a
force return of GRIDNODE_SYNC_FINISHED for testnet so we can start st…
dekm Nov 26, 2022
51a0c68
skipping this check stakes although it never returns staking is activ…
dekm Nov 26, 2022
3402809
set nGridnodeCountDrift to 0 on testnet
dekm Nov 26, 2022
1332c13
Keep exact input amount for GN for now. There is another place the da…
dekm Nov 26, 2022
d8eaa68
find all other locations collateral is checked
dekm Nov 28, 2022
af98450
test if this ignores gnsync on testnet
dekm Nov 28, 2022
adbc093
place the gnsync check in the actaul call so all checks determine whe…
dekm Nov 28, 2022
a1c638d
test coin control with create transaction
dekm Nov 28, 2022
066c1c0
add reference to coinControl
dekm Nov 28, 2022
de51d90
add coincontrol.h to rpc wallet
dekm Nov 28, 2022
c0ba659
remove log for return key
dekm Nov 28, 2022
7f0a55d
print wtx.strFromAccount
dekm Nov 28, 2022
b98d2f2
comment out destChange
dekm Nov 28, 2022
a279b64
added a call to get local addresses in a map. SOme notes on how to ha…
dekm Nov 29, 2022
a216e01
ms: changed how we add the mint to transaction index
Fim-84 Nov 30, 2022
11b8536
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Nov 30, 2022
bcede02
checking loadBlockIndex was removed for some reason in an earlier commit
dekm Nov 30, 2022
25e3b2a
comment out isTimeToMint to test if this is causing a full reindex
dekm Nov 30, 2022
a0199d7
add back old assert assert(hashPrevBlock == view.GetBestBlock())
dekm Nov 30, 2022
cbbf63b
remove log spam of block info
dekm Nov 30, 2022
f4e394a
set hashBlock back to -1
dekm Nov 30, 2022
f8c0440
skip check block to see if the issue is here
dekm Nov 30, 2022
1550bb8
broken log
dekm Nov 30, 2022
c7434be
CheckBlock is not the issue
dekm Nov 30, 2022
576b5a9
ms: changes in create transactions to lock transactions from minted a…
Fim-84 Dec 1, 2022
cba7f7b
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Dec 1, 2022
071ddb2
disable setting genesis to test mainnet
dekm Nov 30, 2022
0b4cb47
log loading block from disk
dekm Dec 1, 2022
4dd9978
update log
dekm Dec 1, 2022
27eb230
move setbest block to the end
dekm Dec 1, 2022
5321423
only check GetHash for testnet as mainnet does not need this
dekm Dec 1, 2022
28501f5
added coin control if we are sending to a local address that is locked
Fim-84 Dec 1, 2022
abbe95f
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Dec 1, 2022
c20f0cd
ms: added checks to stop transactions from minted addresses
Fim-84 Dec 2, 2022
aa417ea
the numbers here cannot change for mainnet as they are required to co…
dekm Dec 2, 2022
dc4acb5
ms: removed log prints that spamed the log. change a if statment to s…
Fim-84 Dec 2, 2022
5fa8cba
Merge branch 'ms_restclient' of github.com:unigrid-project/daemon int…
Fim-84 Dec 2, 2022
e939ef4
two different asserts for main and testnets
dekm Dec 2, 2022
f6f426e
test whether syncing works mainnet
dekm Dec 2, 2022
44c6c1b
set genesis to view if there is a match
dekm Dec 2, 2022
4a2640d
add a line break on exception here
dekm Dec 2, 2022
68ae5c7
ms: fixed shutdown when not finding hedgehog.
Fim-84 Dec 5, 2022
03fe0c7
ms: fixed conflicts
Fim-84 Dec 5, 2022
9a8b634
ms: small changes to handel when hedgehog dosent have any mint data yet
Fim-84 Dec 5, 2022
a3c4629
disable shutdown for test
dekm Dec 7, 2022
4438a7a
return true for checktx on lock to test
dekm Dec 7, 2022
c12f215
test getbestblock
dekm Dec 7, 2022
cdb5a38
only check prev block for testnet as this is interfering with mainnet…
dekm Dec 7, 2022
3516788
revert MAIN to old method of checking previous block
dekm Dec 7, 2022
6974e4c
redo order in init loading block index
dekm Dec 7, 2022
dc0ab28
regorg init block index
dekm Dec 7, 2022
22559ff
test InitBlockIndex after pcoin
dekm Dec 7, 2022
246bcfa
block index was checking twice
dekm Dec 7, 2022
ea06a18
disable shutdown to see if mainnet actually syncs
dekm Dec 7, 2022
6fc07b9
disable log for waiting to mint
dekm Dec 7, 2022
25e9390
disable spam from calling cli
dekm Dec 7, 2022
0dcdea8
only output true for time to mint
dekm Dec 7, 2022
dd1886a
test if the order here was what causes testnet to not start
dekm Dec 8, 2022
27a979f
remove commented code. if used it breaks testnet starting properly.
dekm Dec 8, 2022
bf89a5f
MS: changed how no connecting hedgehog workes. it will wait for one m…
Fim-84 Feb 6, 2023
e6dc2a5
MS: fixed conflicts
Fim-84 Feb 6, 2023
cba947c
MS: small change to CheckIsLockPeriodIsActive
Fim-84 Feb 7, 2023
b7275cb
MS: Done some change to make the daemon play ball with hedgehog
Fim-84 Feb 14, 2023
d15c977
Create a new protocol version for this next release. Check with hedge…
dekm Feb 20, 2023
aca382a
need to add the restclient object
dekm Feb 20, 2023
2064f67
modify the hasMintingSpork call to use the same method as getdatafrom…
dekm Feb 20, 2023
82c5341
try printing the size of the response
dekm Feb 20, 2023
87f75f9
adding some debuig logs
dekm Feb 20, 2023
59ca1ad
test this rest call to hedgehog
dekm Feb 20, 2023
5b897cf
skip calling the rest client to see if the error is there
dekm Feb 20, 2023
45607b7
wrap check in a try catch to see if we get an error
dekm Feb 20, 2023
79191d5
MS: removed log prints that fills up the log
Fim-84 Feb 28, 2023
fba3c86
MS: changed the mint spork check to handel an emtpty return list.
Fim-84 Mar 2, 2023
dc41a98
search for the correct OSX SDK being used
dekm Mar 2, 2023
3fc3bc6
update OSX SDK
dekm Mar 2, 2023
906991e
wrong version of OSX SDK in descriptor
dekm Mar 2, 2023
4599a74
disable broken tests for OSX
dekm Mar 2, 2023
8263fa1
try downgrading the OSX SDK
dekm Mar 2, 2023
2beda1c
add corect checksum
dekm Mar 2, 2023
d952193
revert darwin build to the old basic
dekm Mar 2, 2023
7b0c5c3
darwin host updated to proper 12.1 sdk version
dekm Mar 2, 2023
0bb6591
try using an older osx version as this used to work
dekm Mar 2, 2023
4a8e011
revert darwin and pass in an extra arg for darwin boost
dekm Mar 2, 2023
2e419b1
try a newere version of boost
dekm Mar 2, 2023
10c867e
c++14 for boost
dekm Mar 2, 2023
188d4c8
downgrade boost up c++
dekm Mar 2, 2023
b1351e2
bug in the last boost file when downloading
dekm Mar 2, 2023
68a5705
try building with boost 1.73 on osx
dekm Mar 3, 2023
61da113
try changing the build-type for boost to release
dekm Mar 3, 2023
ed26a6a
build boost minimal
dekm Mar 3, 2023
18b3266
remove xorriso
dekm Mar 3, 2023
0c0e290
remove xorriso
dekm Mar 3, 2023
4beaf8b
guid log
dekm Mar 6, 2023
54c8564
adding back some packages removed in gitian descriptors for linux
dekm Mar 6, 2023
d6f3b45
toolset for osx darwin
dekm Mar 6, 2023
a622e31
osx brew build fail fix for boost errors
dekm Mar 6, 2023
3e59db3
boost/bind/placeholders is the correct package
dekm Mar 6, 2023
9128b1b
revert boost build to target-os darwin
dekm Mar 7, 2023
0e91fff
test if osx can build boost 1.81
dekm Mar 7, 2023
3fdbf2b
update the darwin builder
dekm Mar 7, 2023
745327d
update darwin host
dekm Mar 7, 2023
48489f3
tray and build with the old osx sdk
dekm Mar 7, 2023
fef6e94
try using a newer osx SDK to build with
dekm Mar 7, 2023
99eb29b
osx 10.15 doesnt exist in xcode 12.2
dekm Mar 7, 2023
c2ce30b
file was still using the 12.1 sdk
dekm Mar 7, 2023
59f1184
increase min OSX version
dekm Mar 7, 2023
79581c2
try min v 10.5.4
dekm Mar 7, 2023
42f8f89
missing header required in later versions of boost
dekm Mar 8, 2023
79325da
downgrade boost 1.73
dekm Mar 8, 2023
0f372fd
try building with old OSX sdk
dekm Mar 8, 2023
c03bb0c
untrar proper osx sdk
dekm Mar 8, 2023
527f18d
revert to newer osx sdk
dekm Mar 8, 2023
07db29e
try boost 1.71
dekm Mar 8, 2023
8d6d642
boost 1.73
dekm Mar 8, 2023
84869d8
try updating the packages to not require b2
dekm Mar 8, 2023
4cd2312
remove native_bs requirement
dekm Mar 8, 2023
21a4fb6
remove bjam bs
dekm Mar 8, 2023
cb47e0e
remove native_bs
dekm Mar 8, 2023
ead6eb9
use latest osx sdk
dekm Mar 8, 2023
e1abfb5
darwin
dekm Mar 8, 2023
abfddef
using settings from an older branch that worked for osx
dekm Mar 8, 2023
2593e95
update build sh
dekm Mar 8, 2023
fdadcd5
native_libtapi in wrong order
dekm Mar 8, 2023
680849f
descriptor osx
dekm Mar 8, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ daemon/config/unigrid-config.h.in
**/stamp-h1
share/setup.nsi
contrib/devtools/split-debug.sh

contrib/unigrid
contrib/gitian-builder
.vscode
.deps
.dirstamp
Expand Down Expand Up @@ -96,6 +97,9 @@ qa/pull-tester/test.*/*

daemon/leveldb*/Makefile

#guix
guix-build-*

.cproject
.project
/doc/doxygen/
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
# No wallet
# - HOST=x86_64-unknown-linux-gnu PACKAGES="python3" DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
# Cross-Mac
- HOST=x86_64-apple-darwin11 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" OSX_SDK=10.11 GOAL="deploy"
- HOST=x86_64-apple-darwin19 PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" OSX_SDK=10.11 GOAL="deploy"

before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -e
srcdir="$(dirname $0)"
cd "$srcdir"
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
if [ -z "${LIBTOOLIZE}" ] && GLIBTOOLIZE="$(command -v glibtoolize)"; then
LIBTOOLIZE="${GLIBTOOLIZE}"
export LIBTOOLIZE
fi
Expand Down
Loading