pytest -m 'wip' --html=artifacts/report.html
pytest -m 'fstop'
pytest -m 'unit'
pytest -m 'noargs'
pytest -m 'spark' --html=artifacts/report.html
When rebuilding
make clean
thenmake
- cd depends
- make -j
nproc
- cd ..
- ./autogen.sh
- ./configure --prefix=
pwd
/depends/depends/config.guess
- make
- ./src/qt/firo-qt -regtest <-- open QT in regtest
firod -regtest -datadir=/Users/milanranisavljevic/Desktop/regtest
firo-cli -regtest -datadir=/Users/milanranisavljevic/Desktop/regtest getsparkbalance
pgrep firod
list processes named "firod"
ps -p $(pgrep firod)
display more information about the processes
kill -9 <pid>
kill process (-9 = force)
./firo-qt -regtest -datadir=/Users/milanranisavljevic/Desktop/regtest
generate 1000
- listunspentsparkmints
- listsparkmints
- listsparkspends
- getsparkdefaultaddress
- getallsparkaddresses
- getnewsparkaddress
- getsparkbalance
- getsparkaddressbalance
- resetsparkmints
- setsparkmintstatus
- mintspark
- spendspark,
- lelantustospark
- mint/spend lelantus will be enabled at block 400
- mint lelantus will be disabled after block 1000
- spend lelantus will be disabled after block 1500
- mint/spend spark will be enabled at block 1000
Mintspark is for public to private
Spendspark is private to private(or public)
To migrate lelantus, need block number >= 1000 & balance of lelantus >0
getrawtransaction <txid>
sendrawtransaction <hex-encoded-transaction>
gettransaction <txid>
listaddressbalances
getallsparkaddresses
getsparkaddressbalance <address>
mintspark "{\"pr1nt8jg4su5tzpq2ghaz0vyq79j398uhg9uh6vays2lh6lhttqqtqk506dw5h69nv9zdjg6g9q2t348ag705c4lz3tfvxc7yly6e2xzpl44y5fntduuthe56a3nw0m2yyl7r9989gwvr8et\":{\"amount\":0.01, \"memo\":\"test_memo\"}}"
Note: 2 mintspark’s must be executed before spendspark
to public
spendspark "{\"TP65emX7KpovgvfRdTKGJHkcBHvJRXTYsz\": {\"amount\":0.01, \"subtractFee\": false}}" "{}"
to private
spendspark "{}" "{\"sr1zsu5tc4ne94p7zax9af82ax7x489pv20ffd3jruypsmfr8046m8wqpdtw47n9p5v3ca9tz9g8snn8eyqx0mdmjksa5lt2dvk2nc5gzjtl2jdqt3f3ney555e2hvszjcxak32n7csnv44k\":{\"amount\":0.01, \"subtractFee\": false}}"