Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
19a5049
set default nspv_msg and unspentccindex to true for tokel
Sep 19, 2021
7157358
added tokel params to buildxxx.sh
Sep 19, 2021
cf511ac
added blockheader to nspv gettransactionsmany
Sep 24, 2021
7b31fdf
added height hash to gettransactionsmany
Sep 24, 2021
e749119
added cryptocondition destination type with address prefixed by 'C'
Oct 1, 2021
f6c6808
added initialisation of CCcontract_info with C-prefixed global addresses
Oct 1, 2021
12ed6ab
tokenv2indexkey added, tokenv2address not supported
Oct 1, 2021
c12d328
disabled zcash seeds
Oct 1, 2021
96f4a2d
fixed CCryptoConditionID removed extra constructor, fixed usage in CB…
Oct 2, 2021
2c5a1c3
removed unused global addresses in CCcustom.cpp
Oct 2, 2021
e308ee5
added tokenv2allbalances rpc; disabled tokenv2indexkey
Oct 2, 2021
a3fd650
added tokenallbalances inmplementation
Oct 2, 2021
1e196fc
allowed empty creationid in SetCCunspents to list all tokens); allowe…
Oct 2, 2021
241aa0f
fixed init err param in cc_conditionFromJSON() to prevent decoding fa…
Oct 3, 2021
0272f0a
fixed return to void func in cryptoconditions utils.c (some compiles …
Oct 3, 2021
16627bc
added mempool-tx ext debug messages
Oct 3, 2021
698a156
getindexkeyforcc util rpc added
Oct 3, 2021
f215e90
added error into SendMoney if destination scriptPubKey was not decode…
Oct 3, 2021
d1fcb5b
added build lib cryptoconditions into build...sh
Oct 3, 2021
121f63b
fix cryptoconditions configure make params in build-win
Oct 3, 2021
d07bbd0
added switch default return in cryptoconditions.c
Oct 4, 2021
d8f2ec7
added missing include for gcc10/kali/debian10
Oct 4, 2021
bf74d0a
restored missed tokel validation func init
Oct 4, 2021
ad6bd6a
Merge pull request #17 from dimxy/tokel-params
NutellaLicka Oct 4, 2021
3448aa0
Revert "Tokel fixes and improvements for nspv and customised build"
NutellaLicka Oct 4, 2021
1de03a1
Merge pull request #18 from TokelPlatform/revert-17-tokel-params
NutellaLicka Oct 4, 2021
6941b48
Create tokel_chain_flow.md
piggydoughnut Oct 5, 2021
e0adfc5
Merge pull request #19 from dimxy/tokel-params
NutellaLicka Oct 5, 2021
226e234
Update README.md
piggydoughnut Oct 7, 2021
53d4577
Update tokel_chain_flow.md
piggydoughnut Oct 7, 2021
10b892c
comment added to mark Tokel defaults for nspv_msg and unspentccindex
Oct 7, 2021
3cb9ac8
Updated README
NutellaLicka Oct 8, 2021
74c90a2
NSPV_notarizationextract logging improved
Oct 12, 2021
8b43f7a
more #include for better IDE error check
Oct 12, 2021
8ab8c64
NSPV_getntzsproofresp fixed returned nexttxidht
Oct 12, 2021
e43ac9e
requestId 4b returned back in response was added to NSPV messages
Oct 12, 2021
d2257cc
added limit for max NSPV json request 64k, length vars refactored
Oct 13, 2021
dcbc459
removed unused include
Oct 14, 2021
153abe4
iguana_rwvarint added
Oct 14, 2021
cf093a9
added NSPV_ERRORRESP message; requestId added after reqCode/respCode …
Oct 14, 2021
91a70e2
logging fixed
Oct 15, 2021
2e85aba
nspv_info logging improved
Oct 15, 2021
51cc81c
'script' field added to returned nspv utxos
Oct 16, 2021
7683775
nspv create token fixed remotepk
Oct 16, 2021
a4a81fa
fix tokencreate return for nspv
Oct 16, 2021
d41ea4e
added new CCLTVID dest type for CLTV opcode in scriptPubKey (from Ver…
Oct 7, 2021
35900f5
added SolverCLTV(); func IsStandard() allows CLTV txns in mempool; Ex…
Oct 7, 2021
50e796a
added komodo_next_tx_locktime() for reuse
Oct 7, 2021
86d0f7d
wallet and listaddressgroupings rpc and TotalPubkeyNormalInputs() are…
Oct 7, 2021
91b1177
test to decode TX_CLTV
Oct 7, 2021
ac693c7
restore LogPrintf ToString
Oct 12, 2021
fe089f0
refactored SetCCunspents coinaddr copy; del extra comments; added coi…
Oct 18, 2021
52c02fe
added check for cltv coins to cc AddNormalInputs.. funcs; wallet's Av…
Oct 19, 2021
7c36a1f
disable test sendtoaddress cltv code
Oct 19, 2021
0ead4b8
disable test nspv messages
Oct 19, 2021
424740e
Merge pull request #20 from dimxy/tokel-cltv-wallet
NutellaLicka Oct 19, 2021
fb72ec0
Merge branch 'tokel' into tkltest
Oct 22, 2021
ad975e0
Revert "Merge branch 'tokel' into tkltest"
Oct 22, 2021
e9538bc
remove bad cryptoconditions build cmds from build..sh
Oct 21, 2021
a61eb74
del test help message
Oct 22, 2021
af02aa1
Merge pull request #21 from TokelPlatform/tkltest
NutellaLicka Oct 22, 2021
5f0753d
Merge pull request #22 from dimxy/tkltest-del-bad-cc-cmd
NutellaLicka Oct 22, 2021
6d9c833
updated dapp link
NutellaLicka Oct 22, 2021
dacb54b
nspv fix verifyntz check to remove long unneeded remote call
Oct 23, 2021
5e4b791
Merge pull request #23 from dimxy/tkltest-fix-verifyntz-check
NutellaLicka Oct 23, 2021
024d2cb
enabled tokenindexkey rpc
Oct 23, 2021
b7c50bc
SetCCunspentsCCIndex indexkey fixed (fixes tokenlist)
Oct 23, 2021
6e35248
tokenallbalances result fixed
Oct 23, 2021
dc4c247
Merge pull request #24 from dimxy/tkltest-fix-tokelallbalances
NutellaLicka Oct 23, 2021
0816254
Merge pull request #25 from TokelPlatform/tkltest
NutellaLicka Oct 23, 2021
db21b49
Merge pull request #27 from TokelPlatform/tokel
NutellaLicka Nov 21, 2021
7720143
py tests for tokenbalance tokenlist
Nov 8, 2021
a9bfc2e
NSPV_notarized_bracket fixed to find correct bracket
Nov 8, 2021
e1c0c4f
NSPV v006: fixed finding notarisation tx embracing the requested heig…
Nov 19, 2021
8a17867
comment added in assets cc
Nov 19, 2021
eba470c
commented unused py token test code
Nov 19, 2021
ebb4379
removed 'tokenv2address' from help, added help msg to tokenv2indexkey
Nov 19, 2021
2251448
searchforpubkey rpc added
Nov 23, 2021
0733792
added opdrop tokens data rules into assets cc
Nov 24, 2021
dc56823
tests added for assets cc rukes for opdrop token data
Nov 24, 2021
47a76af
added height activation for asset rules
Nov 25, 2021
2dadc28
tests for assets rules height activation
Nov 25, 2021
15f919e
more retires in assets py tests
Nov 25, 2021
2ed6bca
extra params deleted from a helper func
Nov 26, 2021
6e29083
removed extra prints in cc test
Nov 26, 2021
2ddd6d2
CCupgrades src added
Nov 26, 2021
83c6c79
upgrade heights set
Nov 26, 2021
6385363
Merge pull request #28 from dimxy/tkltest-fix-ntz-bracket-test-token-…
NutellaLicka Nov 28, 2021
e418f6a
fix tkltest hf height var (does not change the actual height)
Dec 11, 2021
bee65bf
not checking -pubkey for certain token rpcs when called over nspv
Dec 14, 2021
14cffc3
added test for incorrect tokens/assets eval threshold
Dec 20, 2021
1b1a4de
tokel assets HF height adjusted + 30 days
Jan 2, 2022
9bc99b2
Merge pull request #30 from dimxy/tkltest-fix-hf-var
NutellaLicka Jan 3, 2022
ecb9f95
nspv code cleanup
Jan 18, 2022
16918ca
Merge pull request #33 from dimxy/tkltest-nspv-refactor-2
NutellaLicka Jan 18, 2022
4c7963a
Merge pull request #29 from TokelPlatform/tkltest
NutellaLicka Jan 18, 2022
32cbb2c
added filtering json parameters to tokenorders rpc; locks optimised i…
Feb 9, 2022
ab70060
Merge pull request #34 from dimxy/tkltest-tokenorders-fix
NutellaLicka Apr 30, 2022
98ac2fe
add --enable-debug support to build
Apr 24, 2022
a0ed084
addrman constructor refactored
Apr 24, 2022
ac06d3f
added komodo_globals.h to cli to prevent ld nStakedDecemberHardfork u…
Apr 24, 2022
c6a8c0c
lib cryptoconditions extenstions: new secp256k1hash cond, dontfulfill…
Apr 24, 2022
d8f2e18
cryptoconditions lib static link
Apr 24, 2022
e07c352
added cryptoconditions new secp256k1hash cond support to scriptPubKey…
Apr 24, 2022
f0f02e0
unused code delete, copyright year updated
Apr 24, 2022
ca363f2
support for Raddress as desination added to tokenv2transfer
Apr 24, 2022
009be86
test assets cc FinalizeCCTx fixed for cc subver_1
Apr 24, 2022
9dffa59
decode condition added to decoderawtransaction
Apr 24, 2022
2b55ddf
nspv tx.nLockTime set for CLTV
Apr 24, 2022
0ab88b3
debug print disabled
Apr 24, 2022
0b38429
AddNormalInputs set vin sequence non-final to allow CLTV
Apr 24, 2022
47b188e
fixed check_signing_pubkey cc_isAnon use
Apr 25, 2022
3bfb6fd
Added current height to Eval object
Apr 25, 2022
8e2cb01
fixed cc mixed mode subversion getting function
Apr 25, 2022
a27c1d8
added valid burn pubkey via activation height
Apr 25, 2022
d985423
fixed addUpgradeActive in CCupgrades
Apr 25, 2022
b8fea1b
test-assets use Eval base Set/GetCurrentHeight()
Apr 25, 2022
8899020
set TKLTEST2 activation ht for token Raddress
Apr 25, 2022
7141137
eliminate extra indexkey
Apr 25, 2022
db8bf5a
extra loggin removed
Apr 26, 2022
d22fe00
fixed token transfer MofN rpc
Apr 26, 2022
a1b8c90
safety check to CCPubKey
Apr 26, 2022
bdb7502
assets py tests fixed for new rpc tokenv2transferMofN, refactored
Apr 27, 2022
fb172ba
fixed cc test (no-signature conds enabled); disabled incompatible bet…
Apr 27, 2022
d4805f4
fixed GetScriptForDestination for CLTV
Apr 27, 2022
9495004
cltv destination test refactored
Apr 27, 2022
a491e5d
CCupgrades.h name fixed
Apr 27, 2022
3810289
rearrange src to enable komodo-tx build
Apr 27, 2022
0e25606
move importcoin.cpp to server lib
Apr 27, 2022
d311ffc
more src rearrange to enable tools build
Apr 27, 2022
f87e3c2
check if json from str is valid
Jan 18, 2022
2f6aff4
added chain for py asset test
Jan 31, 2022
d327c46
fixed getting req type in rate limiter
Jan 31, 2022
644e9aa
help sendtoaddress fixed
Jan 31, 2022
aca3648
added websockets support (no tls)
Feb 1, 2022
dc888d8
websockets src and lib added
Feb 2, 2022
1350e9e
added faucet demo nspv support
Feb 2, 2022
4291935
fixed -wsport use
Apr 27, 2022
1143b67
logging cc script
Apr 28, 2022
dbb32f6
fixed cc subversion getting in main.cpp
Apr 28, 2022
a7e8a1b
help cond fixed
Apr 29, 2022
616c3e0
fixed royalty dust calc for assets cc
May 2, 2022
b90533f
indent space in build-mac
May 2, 2022
820e4de
validation tests fixed for assets cc royalty
May 2, 2022
b355bd1
added kmd tokel version to configure, show fixed ver in getpeerinfo g…
May 6, 2022
49bbc8e
build.sh help fixed
May 6, 2022
125e334
added jmj fixes for debug build
May 6, 2022
71c0c15
added disconnection of old version websocket peers
May 6, 2022
5d0abd2
in FinalizeCCV2Tx probe R-address token cond added
May 6, 2022
8cc119f
fixed assets cc royalty dust calculation (HF activated)
May 6, 2022
6f51cf9
debug logs removed assets
May 6, 2022
aa199ce
assets consensus tests added for royalty dust fixes
May 6, 2022
b871bc2
more assets py tests added for big royalties
May 6, 2022
3c960b1
fixes to enable debug build
May 6, 2022
9b091d9
CCUpgrade const names refactored
May 9, 2022
960dbae
disabled eval param for future
May 9, 2022
82be938
non-tls in websockets
May 9, 2022
bcbe7b4
set ws listen port for local addr
May 9, 2022
5e1b951
change NODE_ enum type to uint64_t to enable 31bit const
May 9, 2022
1956c0d
add NODE_NSPV flag to websockets
May 9, 2022
e937bf6
added NODE_ flag for tls websockets
May 9, 2022
991fbd1
simple rate limit for wsaddr
May 9, 2022
6b3c3d9
websockets logging improved
May 9, 2022
0587904
disable DEX rpcs
May 10, 2022
026f1db
disable some websockets disconnect options
May 10, 2022
afc8f73
ping on ws peers enabled
May 10, 2022
23a6275
fixed token change to R-address
May 10, 2022
4dc5982
removed extra logging
May 10, 2022
7514da3
some assets py tests re-enabled
May 11, 2022
94cd04c
fixed var name after rebase
May 11, 2022
a67528b
fixed use of valid burn pubkey; tokenburn rpc added
May 12, 2022
45d1cd3
addrman GetAddr refactored (removed duplicate code)
May 12, 2022
4e417c0
tkltest2 height is fixed
May 13, 2022
4c99705
refactored on code review (unused code removed, GetBurnPubKeys func a…
May 15, 2022
5307499
var to disable cc logging for tests
May 15, 2022
29be177
cc tests improved: more rules added, added tests for R-address and to…
May 15, 2022
35a4322
reset TKLTEST2 activation height
May 15, 2022
56056cc
Merge pull request #38 from dimxy/tkltest-websockets-raddress
NutellaLicka May 15, 2022
8aa484a
fixed services literal suffix (build on windows error)
May 17, 2022
8fac876
fix boost build with glibc 2.34 on Linux platforms
May 17, 2022
50b795d
fix cJSON* pointer compare with int
May 17, 2022
b814ec5
added timestamp activation option to CCUpgrades (added test June 2022…
May 20, 2022
d5d8780
added default timestamp activation; tests for CCUpgrades to test-assets
May 20, 2022
c1df6c5
Merge pull request #39 from dimxy/tkltest-websockets-raddress
NutellaLicka May 24, 2022
15b27b7
Merge pull request #40 from TokelPlatform/tokel
NutellaLicka May 24, 2022
918db2c
improved conditions to json encoding: for anon cond_type used instead…
May 30, 2022
0525975
added pubkey check in tokenbalance
Jun 2, 2022
cdb33a9
debug log removed
Jun 2, 2022
1bb4835
more space for nspv reqs in rate limiter
Jun 2, 2022
478c5d6
added NSPV_TXIDS_V2 request (begin/end ht param); nspv requests docum…
Jun 2, 2022
4d50597
more nspv struct docs
Jun 2, 2022
e011317
nspv spent info logging fixed
Jun 2, 2022
b8645d7
added adding to mempool eval error propagation to nspv
Jun 2, 2022
be94734
adde check not null for evalcodeChecker
Jun 3, 2022
1b8b252
Updated information
NutellaLicka Jun 3, 2022
3cfc9d4
Merge pull request #42 from TokelPlatform/tokel
NutellaLicka Jun 3, 2022
c04440c
Merge pull request #41 from dimxy/tkltest-websockets-raddress
NutellaLicka Jun 3, 2022
6de7b41
dpow season 6 activation
Alrighttt Jun 9, 2022
381bcec
Merge pull request #43 from Alrighttt/tokel-season6
NutellaLicka Jun 13, 2022
526634e
dpow season 6 activation
Alrighttt Jun 9, 2022
c56bc7b
s6 timestamp set for token raddress activation
Jun 14, 2022
557dff5
remove tests chain upgrades
Jun 14, 2022
2d046c1
check nspv response allocated var
Jun 16, 2022
655ec82
removed unused komodo_opreturn call
Jun 17, 2022
79dbc20
check nft data evalcode value
Jun 17, 2022
610b688
json param parsing in token rpcs
Jun 17, 2022
c32a70a
faucetaddccinputs has the fixed amount
Jun 19, 2022
5f44794
disabled internal rpcs
Jun 19, 2022
ecca816
websockets temp disabled
Jun 19, 2022
369a0fe
fixed unbound websocket var
Jun 19, 2022
65d50d0
Merge pull request #47 from dimxy/tokel-s6
NutellaLicka Jun 20, 2022
2dc57d1
README updates
NutellaLicka Jun 20, 2022
d2e98de
fix fingerprint buf size
Jun 28, 2022
e098243
ext test for token Raddress
Jun 28, 2022
55f7436
fix ccv1 validation
Jul 7, 2022
59b087b
added GetCurrentHeightCompat old style for oracles rewards
Jul 7, 2022
0eeb59b
fix py ci tests for 'C' addresses
Jul 7, 2022
dedd1c4
fix tokentransfer[many] v1 (for tests)
Jul 8, 2022
2ec9266
fix GetTokenAddress for tokens v1
Jul 8, 2022
7d1c516
fix token py tests for tokens v1
Jul 8, 2022
1943e73
del extra logs in py test
Jul 8, 2022
71fcbe5
fix py test C address check
Jul 8, 2022
2756299
inc tokel subversion
Jul 8, 2022
e52fa75
py test log fixed
Jul 8, 2022
0114751
fix cryptocondition check threshold ffil non null
Jul 8, 2022
41646c4
disable unsupported kv py test
Jul 8, 2022
e6166b2
CI: added install openssl
Jul 9, 2022
d566a03
add openssl include to build-mac-test.sh
Jul 9, 2022
6662f98
fix cpuid build for WIN32
Jul 9, 2022
79e72c3
catch RPCError in py test
Jul 9, 2022
0b9ebac
add openssl dir to pycurl setup for tests
Jul 9, 2022
3ea0b5e
fix openssl path in py tests
Jul 9, 2022
b91eb1c
change py test chain port (to avoid conflict)
Jul 9, 2022
b225738
fix port in test chain nodeconfig
Jul 10, 2022
5333883
try to fix libcurl build on windows CI
Jul 10, 2022
e265454
CI fix vcpkg
Jul 10, 2022
d002309
fix komodo_win yml
Jul 10, 2022
ee576a0
disable libcurl
Jul 11, 2022
7fbfaf2
dev yml
Jul 11, 2022
c911350
dev yml win
Jul 11, 2022
9e69f36
dev yml win
Jul 11, 2022
6d6070a
ci win yml curl git id
Jul 11, 2022
a38b366
fix vcpkg git id
Jul 12, 2022
b8c9b58
ci yml win fix vcpkg commit id
Jul 12, 2022
20a89f8
ci win yml try run-vcpkg v4
Jul 12, 2022
300e6ce
ci yml try fix
Jul 12, 2022
0e75dba
github ci win yml run fix
Jul 12, 2022
54aa54b
github ci add vcpkg git commit id
Jul 12, 2022
2d7c47a
enable back ci macos
Oct 11, 2022
9d3f84d
print cpu info
Oct 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/komodo_linux_ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Komodo Linux CI

on:
pull_request:
types: [opened, synchronize, reopened]
# pull_request:
# types: [opened, synchronize, reopened]
schedule:
- cron: '0 0 * * 1'

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/komodo_mac_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
name: komodo-macos
path: ./komodo-macos.tar.gz

macos-test-dice-token-reards-faucet-cc:
macos-test-dice-token-rewards-faucet-cc:

name: Test (MacOS/Dice, Token, Faucet, Rewards)
runs-on: macos-latest
Expand All @@ -55,6 +55,7 @@ jobs:
- name: Install deps (Dice, Token, Faucet, Rewards CC)
run: |
brew install python3 curl
python3 -m pip install --no-cache-dir --compile --ignore-installed --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl@1.1" pycurl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema

Expand All @@ -68,6 +69,7 @@ jobs:
mv komodo-macos/komodo-macos.tar.gz .
mkdir -p src
tar xzvf komodo-macos.tar.gz
sysctl -n machdep.cpu.brand_string
./zcutil/fetch-params.sh
cd qa/pytest_komodo
./ci_setup.sh "cc_modules/test_dice.py cc_modules/test_faucet.py cc_modules/test_token.py cc_modules/test_rewards.py"
Expand All @@ -84,6 +86,7 @@ jobs:
- name: Install deps (OraclesCC)
run: |
brew install python3 curl
python3 -m pip install --no-cache-dir --compile --ignore-installed --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl@1.1" pycurl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
Expand Down Expand Up @@ -112,6 +115,7 @@ jobs:
- name: Install deps (BasicRPC)
run: |
brew install python3 curl
python3 -m pip install --no-cache-dir --compile --ignore-installed --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl@1.1" pycurl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
Expand Down Expand Up @@ -140,6 +144,7 @@ jobs:
- name: Install deps (ChannelsCC)
run: |
brew install python3 curl
python3 -m pip install --no-cache-dir --compile --ignore-installed --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl@1.1" pycurl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
Expand Down Expand Up @@ -168,6 +173,7 @@ jobs:
- name: Install deps (HeirCC)
run: |
brew install python3 curl
python3 -m pip install --no-cache-dir --compile --ignore-installed --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl@1.1" pycurl
python3 -m pip install setuptools wheel
python3 -m pip install slick-bitcoinrpc pytest wget jsonschema
- name: Download komodo-macos.tar.gz
Expand Down
144 changes: 55 additions & 89 deletions .github/workflows/komodo_win_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
libncurses-dev \
unzip \
git \
python \
python3 \
zlib1g-dev \
wget \
bsdmainutils \
Expand Down Expand Up @@ -72,151 +72,117 @@ jobs:
name: komodod_win
path: ./komodod_win.zip

windows-test-baserpc:

name: Test (Win/BasicRPC)
windows-build-prereqs:
name: Get Prereqs
needs: windows-build
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'

- name: Download komodo_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win

- name: Install deps (Base)
- name: Unpack Komodo
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
python.exe -m pip install slick-bitcoinrpc

- name: Install vcpkg
uses: lukka/run-vcpkg@v4
with:
setupOnly: true
# vcpkgArguments: 'curl'
vcpkgGitCommitId: 'f46f924c08b1fca7ad450ff0b1b26dc9554a3c8e'
# vcpkgDirectory: '${{ github.workspace }}/vcpkg'
# working-directory: ${{env.GITHUB_WORKSPACE}}

- name: Install libcurl
run: |
vcpkg install curl
shell: cmd

- name: Install deps (Base)
shell: cmd
run: |
dir /s vcpkg\packages\curl_x64-windows
python3.exe -m pip install --upgrade setuptools
python3.exe -m pip install --upgrade pip
python3.exe -m pip install --no-cache-dir --compile --ignore-installed --install-option="--with-openssl" --curl-dir="vcpkg\packages\curl_x64-windows\lib" pycurl
python3.exe -m pip install pytest wget jsonschema
python3.exe -m pip install slick-bitcoinrpc
zcutil\fetch-params.bat

windows-test-baserpc:
name: Test (Win/BasicRPC)
runs-on: windows-latest
needs: windows-build-prereqs
#with:
# working-directory: ${{env.GITHUB_WORKSPACE}}

steps:
- name: Base RPC Test (Windows)
shell: cmd
run: |
cd qa\pytest_komodo
start_ci.bat basic
windows-test-dice-faucet-tok-rewCC:

windows-test-dice-faucet-tok-rewCC:
name: Test (Win/Dice Faucet Token Rewards)
runs-on: windows-latest
needs: windows-build
needs: windows-build-prereqs
#with:
# working-directory: ${{env.GITHUB_WORKSPACE}}

steps:
- uses: actions/checkout@v2

- name: Download komodo_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win

- name: Install deps (MainCC)
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
python.exe -m pip install slick-bitcoinrpc
zcutil\fetch-params.bat
- name: CC Dice Faucet Tokens Rewards (Windows)
shell: cmd
run: |
cd qa\pytest_komodo
start_ci.bat cc_modules\test_dice.py cc_modules\test_faucet.py cc_modules\test_token.py cc_modules\test_rewards.py
windows-test-oracles-cc:

windows-test-oracles-cc:
name: Test (Win/OraclesCC)
runs-on: windows-latest
needs: windows-build
needs: windows-build-prereqs
#with:
# working-directory: ${{env.GITHUB_WORKSPACE}}

steps:
- uses: actions/checkout@v2

- name: Download komodo_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win

- name: Install deps (OraclesCC)
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
python.exe -m pip install slick-bitcoinrpc
zcutil\fetch-params.bat
- name: CC Oracles (Windows)
shell: cmd
run: |
cd qa\pytest_komodo
start_ci.bat cc_modules\test_oracles.py
windows-test-heir-cc:

windows-test-heir-cc:
name: Test (Win/HeirCC)
runs-on: windows-latest
needs: windows-build
needs: windows-build-prereqs
#with:
# working-directory: ${{env.GITHUB_WORKSPACE}}

steps:
- uses: actions/checkout@v2

- name: Download komodo_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win

- name: Install deps (CC Heir)
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
python.exe -m pip install slick-bitcoinrpc
zcutil\fetch-params.bat
- name: CC Heir (Windows)
shell: cmd
run: |
cd qa\pytest_komodo
start_ci.bat cc_modules\test_heir.py
windows-test-channels-cc:

windows-test-channels-cc:
name: Test (Win/ChannelsCC)
runs-on: windows-latest
needs: windows-build
needs: windows-build-prereqs
#with:
# working-directory: ${{env.GITHUB_WORKSPACE}}

steps:
- uses: actions/checkout@v2

- name: Download komodo_win.zip
uses: actions/download-artifact@v1
with:
name: komodod_win

- name: Install deps (ChannelsCC)
shell: cmd
run: |
move komodod_win\komodod_win.zip
7z e komodod_win.zip
move komodod.exe src\
python.exe -m pip install --upgrade setuptools
python.exe -m pip install --upgrade pip
python.exe -m pip install pycurl pytest wget jsonschema
python.exe -m pip install slick-bitcoinrpc
zcutil\fetch-params.bat
- name: ChannelsCC (Windows)
shell: cmd
run: |
Expand Down
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-man

clean-local:
rm -rf test_bitcoin.coverage/ zcash-gtest.coverage/ total.coverage/

clean-all: clean-local
$(MAKE) -C src clean-all
Loading