Alternatives to the default scripts for Joinmarket (especially yield-generators)
joinmarket-org / custom-scripts Goto Github PK
View Code? Open in Web Editor NEWAlternatives to the default scripts for Joinmarket (especially yield-generator)
Alternatives to the default scripts for Joinmarket (especially yield-generator)
Hello
Running Raspibolt (Raspberry pi4 with buster) I try to run yg-acyclic.py and I got this error:
(jmvenv) $ python yg-acyclic.py wallet.jmdat
Enter wallet decryption passphrase:
Unhandled error in Deferred:
Traceback (most recent call last):
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/jmclient/yieldgenerator.py", line 33, in __init__
Maker.__init__(self, wallet_service)
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/jmclient/maker.py", line 35, in __init__
self.sync_wait_loop.start(2.0)
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/twisted/internet/task.py", line 194, in start
self()
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/twisted/internet/task.py", line 239, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
result = f(*args, **kw)
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/jmclient/maker.py", line 47, in try_to_create_my_orders
self.offerlist = self.create_my_orders()
File "/home/bitcoin/joinmarket-clientserver-0.6.0/jmvenv/lib/python3.7/site-packages/jmclient/yieldgenerator.py", line 82, in create_my_orders
mix_balance = self.get_available_mixdepths()
File "yg-acyclic.py", line 30, in get_available_mixdepths
balances = self.wallet.get_balance_by_mixdepth(verbose=False)
builtins.AttributeError: 'YieldGeneratorAcyclic' object has no attribute 'wallet'
2019-12-02 00:00:33,215 [INFO] starting yield generator
2019-12-02 00:00:33,401 [INFO] Listening on port 27183
2019-12-02 00:00:33,402 [INFO] Starting transaction monitor in walletservice
2019-12-02 00:00:40,873 [INFO] Could not connect to *ALL* servers yet, waiting up to 60 more seconds.
2019-12-02 00:00:55,920 [INFO] All IRC servers connected, starting execution.
Easy PR on yg-randomizer but don't have time right now.
Reasoning:
Imho yg-randomizer is not be needed any more and can be deleted. The yg-privacyenhanced, which comes with JM by default, basically does the same thing. yg-randomizer was introduced for the old JM, before privacyenhanced existed. There's no need to maintain both versions.
Any objections?
I had a thought of organizing like this: for each different script, make a subdirectory; that way, a user can browse by clicking the subdir, and there can be a README that explains its function, which will show on the github webpage for easy reading of the description.
The top level README can explain the reason for the repo's existence and a simple instruction like 'you can copy script_name.py into your main joinmarket folder and run it'.
Just one possibility I guess.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.