You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2022. It is now read-only.
This will mean yield generators wont have to deal with the logic of unconfirmfun() sometimes not appearing. They will know unconfirmfun() will always be called before confirmfun().
Also this can make JoinMarket work better with -blocksonly because the logic wont need to be changed. Blocksonly could be very useful for bandwidth-constrained tumbler.py users (for example Tails OS users which run over tor) Depending on how bandwidth-constrained tor is, it may be worth having tailsjoin scripts choose blocksonly by default.
The text was updated successfully, but these errors were encountered:
-blocksonly also seems to take off a lot of load from the CPU. I have about 5% CPU load on a raspi b+ between blocks, and there's 100% load for about a minute after a new block.
In the current state, does joinmarket work with -blocksonly option? (sorry it's still not clear to me after reading the comment above)
In the current state it does not work, it just needs a small edit to make unconfirmfun() always be called.
When that edit is made, the tumbler.py bot would probably benefit from it. The script can just send out coinjoin transactions and wait until they're confirmed, no need to see the unconfirmed txes.
blocksonly isn't appropriate for yield-generator because it needs to see unconfirmed txes.
sendpayment.py doesnt even register itself to be notified for unconfirmed txes blocksonly doesnt do anything.
patientsendpayment.py needs to know about unconfirmed txes so blockonly probably cant be used. (Although nobody uses this script anyway because it doesnt work for other reasons)
The code here https://github.com/JoinMarket-Org/joinmarket/blob/master/joinmarket/blockchaininterface.py#L426-L437 should keep track of whether unconfirmfun() was previous invoked when a confirmed transaction is seen, and if not, call it before confirmfun().
This will mean yield generators wont have to deal with the logic of unconfirmfun() sometimes not appearing. They will know unconfirmfun() will always be called before confirmfun().
Also this can make JoinMarket work better with -blocksonly because the logic wont need to be changed. Blocksonly could be very useful for bandwidth-constrained tumbler.py users (for example Tails OS users which run over tor) Depending on how bandwidth-constrained tor is, it may be worth having tailsjoin scripts choose blocksonly by default.
The text was updated successfully, but these errors were encountered: