-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmrswap: Work on testnet. #2942
base: master
Are you sure you want to change the base?
Conversation
aa2f01d
to
04cf0ba
Compare
04cf0ba
to
6c5ff99
Compare
I can't sync xmr testnet at the moment. Getting lots of different errors. Most common seems to be:
I guess I try syncing again from zero? Seems like a bug though. Currently using |
I have just downloaded v0.18.3.4-release which works just fine on I will give this code a go on |
I'm just running with --testnet flag |
use |
Do you mean --stagenet? |
yes |
..and maybe we should rename the PR |
Every testnet has a unique name. testnet3, testnet4, goerli, ... Using the generic "testnet" is good at this level. |
Sure .. fair enough. |
I'll add more info in a README |
Add a c library that has some primitive cryptographic functions needed for working with adaptor signatures.
get transaction development details from monerod including tx lock time; which is different from 'locked'/'unlocked' which refer to when a tx has 10 confirmations. Tx locktime can be any number of blocks in the future.
- Rename monero_functions.inc -> monero_functions - Tidy extra whitespace at eol for harness.sh & monero_functions.
New monero-wallet-rpc server with no attached wallet. This is for programmatically creating/generating and using a new wallet. The wallet will be generated in "own" dir but can be named what- ever you need: "alice", "Bob", etc.
93e3c56
to
255b29c
Compare
Just tested Simnet for 3 hours (while also downloading decred testnet) .. not a single error. Will leave it on all night and will test testnet/stagenet tomorrow. |
I would still propose a |
Whats that? |
For refund on stagenet, seeing these errors for refund.
and monerod:
|
Adding a restore height seems to have fixed the issue. I guess was a sync issue. |
After generate/open of a wallet doing a |
Great! .. and will also make the request much faster usually |
255b29c
to
a71089f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working just fine simnet, testnet for me
Do we need to refresh? Seems like something that would happen automatically, but maybe not for xmr? Is it like a rescan or not so deep? |
a71089f
to
0e3303a
Compare
From reading the wallet server logs it sometimes is done but not always. So when I start the xmr simnet harness and fund other wallets from bob the miner I found it necessary to refresh the wallets which can be seen from the harness script output which reports "received money" after the refresh. Other monero scripts I have read seem to do this - maybe as a precaution - basicswap tends to do this also. It is a direct or pass-thru request from the wallet server to |
closes #2919