-
binaryFate
monero-wallet-cli regularly saves the wallet to disk, but monero-wallet-rpc never, unless "store" is explicitly called or when it's sent kill signal and left enough time to do so?
-
binaryFate
I remember this biting me in the past, still the case right?
-
ofrnxmr[m]
No Sir. I had rpc running for the last 24hrs. I just closed the wallet using Ctrl-c, opened the same wallet file using cli and am fully synced
-
binaryFate
ok thanks, somehow I must not be graceful enough
-
moneromooo
The kill signal will not save (can't be hooked) but the int signal can will save, or ^C will too.
-
moneromooo
On Linux (and probably mac) anyway. Who knows what windows does with signals.
-
binaryFate
thanks will check my signals
-
moneromooo
Sorry, I meant term, not int. But int should also save as it's ^C.
-
moneromooo
Right, see src/common/util.h, look for SIGINT
-
hyc
you can't really send signals on windows. but the console driver will recognize break and ctrl-c
-
hyc
I wrote signal support for MSYS1 many years ago
twitter.com/hyc_symas/status/1154448029791002624
-
woodser[m]
is there an effort to reduce the size of the wallet cache? thought I remember seeing that talked about somewhere
-
UkoeHB
woodser[m]: that was me, for the seraphis wallet work
-
UkoeHB
Maybe could be adapted to wallet2
-
UkoeHB
The idea is to only store block id checkpoints instead of all block ids.
-
woodser[m]
ok. makes sense
-
woodser[m]
is there any way to merge all data from two wallet cache blobs from the same wallet?
-
woodser[m]
if I'm not mistaken, key images and outputs could be merged using existing export/import functions, but this would not transfer destination addresses and other local data
-
woodser[m]
or is it possible to import the secret tx keys from another wallet cache?
-
scoobybejesus
-
woodser[m]
hm, yeah
-
woodser[m]
tx keys can be transferred using set_tx_key
-
Rucknium[m]
I am trying to identify all RingCT outputs and rings using the get_transactions RPC call. If tx version == 2, are all outputs in the tx RingCT outputs? If input amount == 0, are all rings RingCT type? And are all coinbase outputs since the genesis block eligible to be spent in a RingCT input?
-
moneromooo
I think so, yes, no, resp.
-
moneromooo
For the second question, re-reading it, it doesn't mean what I thought you meant, and probably what you meant to say.
-
moneromooo
The answer is yes if s/are all rings/is that ring/
-
moneromooo
I don't think you can mix rct and non rct rings, but I am not 100% sure.
-
moneromooo
In fact, I'm pretty sure you can't. Just not 100% sure...
-
moneromooo
In any case, an out is rct iff amount == 0 or coinbase out after the rct fork.
-
moneromooo
(the latter is deemed rct really, though isn't, but it's treated as one)
-
Rucknium[m]
Yes, sorry I embedded the question of "must all inputs in a given tx be the same type of ring?" in there.
-
Rucknium[m]
I can just check individually for each input.
-
Rucknium[m]
To be absolutely sure about question (1), instead of just using tx version == 2, can I just check that the "amount" of each output is zero?
-
moneromooo
Amount being zero implies rct.
-
Rucknium[m]
Thanks!
-
Guest81
hey, is the matrix a mirror of the irc? I wanted to ask if there is any history being kept but if the former is true no answer would be needed
-
plowsof11
-
DanIsnotthemanBr
And sold to google ;)