-
br-m
<gasperx:matrix.org> Hello everyone,
-
br-m
<gasperx:matrix.org> I’m developing a personal-use system where I intend to perform transactions via atomic swaps.
-
br-m
<gasperx:matrix.org> I’m currently using a rendezvous/discovery node (please correct me if this terminology isn’t accurate), but I’m having difficulty finding enough peers online and available.[... more lines follow, see
mrelay.p2pool.observer/e/krrBgeIKNVBVdGN4 ]
-
clawmon23
Any thoughts on current market opportunities or new projects worth watching?
-
deavmi
Does monero-wallet-rpc only bind and start listening for RPC calls once the block sync is done?
-
plowsof
deavmi yes unless you add flag --no-initial-sync
-
deavmi
no initial sync will allow all other components to immediately start
-
deavmi
and then synchronization countinues elsewhere (seprate to start up thread)?
-
plowsof
correct, you can then poll the wallets height to check if its = to current block height
-
deavmi
ah
-
deavmi
neato
-
deavmi
thanks plowsof
-
deavmi
works :_
-
deavmi
* :)
-
deavmi
plowsof: should RPC calls take so long though, feels like sometimes I am waiting forever, at least whilstn the blocks are syncing...
-
deavmi
Even with that option you provided
-
deavmi
Is some internal lock held for the duration of block sync
-
deavmi
?
-
deavmi
I wonder if --max-concurrency could be set to somethine maybe...
-
deavmi
nvm not that, just gotta wait for this sync I guess
-
deavmi
Thing is I open and close an RPC connection, so that initial connection that I get due to --no-initial-sync is not re-used. I should probably look into that
-
plowsof
The wallet rpc server does take a bit to start even with no initial sync, i have no idea what you're using but e.g. in python you can start the binary and read stdout and wait to see the rpc init line print. Then make your calls
-
deavmi
-
plowsof
Ah some calls require the wallet to be synced
-
deavmi
Ah
-
plowsof
Could be encountering that?
-
deavmi
Dummy me should have read that
-
deavmi
Probably
-
deavmi
If I remove the --daemon from monero-wallet-rpc then calls work fine as it (the go library) doesn't see it syncing
-
deavmi
makes sense
-
deavmi
thanks plowsof, ;)
-
deavmi
[15:08:57] <@plowsof> Ah some calls require the wallet to be synced
-
deavmi
Yeah the ones I am doing are getBalance related
-
plowsof
There is #monero-community-dev also for none core help and sharing what you're working on too
-
deavmi
so makes sense
-
deavmi
plowsof: Will join, thanks!
-
deavmi
Althogh seems like my first call, getting adresses, even takes some time. I will let the wallet sync and once that's done I will then give this a shot again
-
deavmi
Ofc, in whatever I end up building, I'll add timeouts and all for this, go makes that relatively easy from the get-go (no pun intended)
-
deavmi
Just tryna get my feet wet with how monero's side of things work