00:52:56
gasperx:matrix.org:
Hello everyone,
00:52:57
gasperx:matrix.org:
I’m developing a personal-use system where I intend to perform transactions via atomic swaps.
00:52:57
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 https://mrelay.p2pool.observer/e/krrBgeIKNVBVdGN4 ]
05:22:31
clawmon23:
Any thoughts on current market opportunities or new projects worth watching?
11:56:15
deavmi:
Does monero-wallet-rpc only bind and start listening for RPC calls once the block sync is done?
12:05:58
plowsof:
deavmi yes unless you add flag --no-initial-sync
12:29:42
deavmi:
no initial sync will allow all other components to immediately start
12:29:53
deavmi:
and then synchronization countinues elsewhere (seprate to start up thread)?
12:40:34
plowsof:
correct, you can then poll the wallets height to check if its = to current block height
12:46:04
deavmi:
ah
12:46:05
deavmi:
neato
12:46:06
deavmi:
thanks plowsof
12:50:44
deavmi:
works :_
12:50:46
deavmi:
* :)
12:55:17
deavmi:
plowsof: should RPC calls take so long though, feels like sometimes I am waiting forever, at least whilstn the blocks are syncing...
12:55:22
deavmi:
Even with that option you provided
12:55:34
deavmi:
Is some internal lock held for the duration of block sync
12:55:36
deavmi:
?
12:56:23
deavmi:
I wonder if --max-concurrency could be set to somethine maybe...
13:06:07
deavmi:
nvm not that, just gotta wait for this sync I guess
13:06:30
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
13:07:10
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
13:07:50
deavmi:
Using https://github.com/moneropay/go-monero
13:08:01
plowsof:
Ah some calls require the wallet to be synced
13:08:07
deavmi:
Ah
13:08:10
plowsof:
Could be encountering that?
13:08:12
deavmi:
Dummy me should have read that
13:08:14
deavmi:
Probably
13:08:41
deavmi:
If I remove the --daemon from monero-wallet-rpc then calls work fine as it (the go library) doesn't see it syncing
13:08:43
deavmi:
makes sense
13:08:46
deavmi:
thanks plowsof, ;)
13:09:12
deavmi:
[15:08:57] <@plowsof> Ah some calls require the wallet to be synced
13:09:17
deavmi:
Yeah the ones I am doing are getBalance related
13:09:17
plowsof:
There is #monero-community-dev also for none core help and sharing what you're working on too
13:09:19
deavmi:
so makes sense
13:09:26
deavmi:
plowsof: Will join, thanks!
13:10:36
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
13:10:57
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)
13:11:06
deavmi:
Just tryna get my feet wet with how monero's side of things work