-
UkoeHB
-
UkoeHB
vtnerd: using a const singleton means it can't be initialized in a background thread
-
vtnerd
-
vtnerd
the members of the class get initialized in the constructor once.
-
vtnerd
and since the object is const, the members are const
-
vtnerd
the first thread (background thread) that access the singleton initializes
-
vtnerd
bulletproof+ should move to that style or call_once because both are a bit faster than the current version which always acquires a lock iirc
-
UkoeHB
vtnerd: ah I see; yes I already moved BP+2 to use call_once (new proof to use the generator factory for batching with grootle proofs):
github.com/UkoeHB/monero/blob/0c56c…eraphis/bulletproofs_plus2.cpp#L114
-
alshippd[m]
while my wallet are synchronizing,i create an address of recive and i send the xmr to the address.after it synchronizing the address disappear.and i didn't recive the xmr how do i do?
-
monerobull[m]
just synced 90k blocks in 4:15 min
-
alshippd[m]
ok
-
monerobull[m]
oh sorry wasnt talking to you, just dropping info
-
alshippd[m]
oh
-
monerobull[m]
this isnt dev related, could you maybe post it in GUI?
-
alshippd[m]
GUI?
-
monerobull[m]
#monero-gui:monero.social
-
alshippd[m]
i found the address
-
alshippd[m]
but the xmr not arrive
-
alshippd[m]
i send xmr to wallet
-
alshippd[m]
from binance
-
-
alshippd[m]
binance says it's success but not in monero wallet
-
moneromooo
Double check your refresh-from-block-height (also called restore height IIRC) is lower than the block height at which you got your tx. If it wasn't, set it so and rescan the chain.
-
moneromooo
And wasn't this bug fixed already ? It's happening a lot recently...
-
moneromooo
Oh. did you restore your wallet from seed or keys ?
-
alshippd[m]
moneromooo: yes
-
moneromooo
That's probably it then. Were you asked where to start it from ?
-
alshippd[m]
where's refresh-from-block-height
-
moneromooo
You're using the GUI ?
-
alshippd[m]
yes,i'm using the gui
-
moneromooo
One min...
-
moneromooo
Found it: < moneromooo> < woodser[m]> monero-wallet-gui > settings > info > Wallet restore height
-
moneromooo
Set this to a bit before when you originally created that wallet. 0 is safe but slow.
-
moneromooo
That also explains why your subaddress disappeared, if you nuked the data and recreated.
-
alshippd[m]
i find it, set a new restore height
-
alshippd[m]
mine is 2669025
-
alshippd[m]
the current hight is in the txhash?
-
moneromooo
No.
-
moneromooo
If your imssing tx is a few days old only, use 2660000.
-
moneromooo
If it's older, remove 750 for every day and you should be safe.
-
alshippd[m]
it's today
-
moneromooo
Then a rescan wiull find your monero.
-
alshippd[m]
i can use 2660000 too?
-
moneromooo
Yes. Safe for today.
-
moneromooo
A bit overkill but hey.
-
moneromooo
Oh wait.
-
moneromooo
Your refresh height is already low enough, looking at current blocks.
-
moneromooo
So maybe that is not your problem after all. Try it anyway, though.
-
alshippd[m]
i change it to 2660000
-
alshippd[m]
if it's not my problem then anyway to find the xmr back?
-
moneromooo
Next step, shuld have been first but... chek you're using monero 0.18.x.y.
-
moneromooo
If not, you need to. The network forked recently.
-
alshippd[m]
my monero version is0.17.2.3
-
alshippd[m]
should i download the newest version?
-
moneromooo
Yes.
-
moneromooo
The versoin you have cannot read new txes.
-
alshippd[m]
i see,maybe that's the problem
-
moneromooo
Your daemon should show not 100% synced, but 99.x% or so. After updating, it should go to 100%.
-
alshippd[m]
emm. I use the 0.18.1.0
-
alshippd[m]
have no new txes too
-
alshippd[m]
the same
-
moneromooo
Sigh. Debugging and fixing a bug, updating master to make a PR, and finding it's already fixed in master...
-
moneromooo
Is your daemon done synciung already ? Does it show 100% ?
-
moneromooo
(run "status" in monerod)
-
alshippd[m]
>>> status
-
alshippd[m]
[2022/8/19 16:28] 2022-08-19 08:28:32.299 I Monero 'Fluorine Fermi' (v0.18.1.0-release)
-
alshippd[m]
Height: 2688925/2688925 (100.0%) on mainnet, bootstrapping from 143.244.146.35:18089, local height: 1 (0.0%), not mining, net hash 2.63 GH/s, v14, 0(out)+0(in) connections
-
alshippd[m]
it's 100%
-
moneromooo
You have no peers (ie, you are not connected to the monero p2p network).
-
moneromooo
Wait some more. Current height is 2692xxx
-
alshippd[m]
do i need to restore the height?
-
moneromooo
Your height seems fine.
-
moneromooo
It is often the cause, so I went there, but I was wrong.
-
sech1
2688925, ..., v14 is definitely wrong
-
sech1
you're syncing off old node
-
sech1
you have to connect to a good working node and sync again
-
alshippd[m]
how to do in the gui
-
moneromooo
Just wait. Unless your db is borked or you're hemmed in by sybils, monerod should eventually find a good peer.
-
moneromooo
Or you can exit monerod, rm ~/.bitmonero/p2pstate.bin, and restart.
-
alshippd[m]
wait until monero sync success?
-
moneromooo
Yes.
-
midipoet
What does "Couldn't allocate RandomX cache" erro mean in monerod? Forces exit and terminal then doesn't respond
-
midipoet
*error
-
ofrnxmr[m]
Mac? Os version? What block?
-
midipoet
Yes, Mac. 10.11.6 (old laptop). I am trying to sync from 2676794. Says I am 16202 blocks behind.
-
ofrnxmr[m]
How old is the laptop? Does it support max os 10.15
-
midipoet
ofrnxmr[m]: 2010, so no. It's on the latest OS it supports. It's a dual core Intel. Is 10.15 a minimum OS requirement for CLI since the recent upgrade?
-
monerobull[m]
is trezor ready yet?
-
ofrnxmr[m]
midipoet: I believe so hyc: can you confirm?
-
ofrnxmr[m]
Another user had the same issue. Im not sure if it was resolved
-
ofrnxmr[m]
Trezor is ready, but iirc is a staged release (perhaps not pushed out to everyone)
-
woodser[m]
testing #8513, I start monero-wallet-rpc with `--daemon-address=""` or no parameter at all, but monero-wallet-rpc initializes a default daemon connection if none is provided at startup, so there's no way to keep it an offline wallet unless a dummy daemon value is provided?
github.com/woodser/monero/blob/727b…dc685c8/src/wallet/wallet2.cpp#L393
-
moneromooo
--offline doesn't work ?
-
woodser[m]
ah didn't try that
-
woodser[m]
yes that works
-
rogu157[m]
Hello! How can I increase the number of peers to my node? Now I have 20 incoming and 12 outgoing connections.
-
rogu157[m]
What max peers I will get if I do not specify "--out-peers" and "--in-peers" node launch parameters (default value of this parameters =-1)?
-
moneromooo
--out-peers defaults to 12, --in-peers defaults to unlimited IIRC.
-
rogu157[m]
What values of these parameters should I set for the mining pool node?
-
selsta
-
selsta
-
rogu157[m]
Is it possible to prevent rescan blockchain again when monero-wallet-rpc is starting?
-
rogu157[m]
>2022-08-19 19:48:30.309 7f8fa6e567c0 WARNING wallet.wallet2 src/wallet/wallet2.cpp:2210 Received money: 5.080102295000, with tx: ....
-
moneromooo
Yes, --offline
-
jwinterm[m]
> <@rogu157:matrix.org> Is it possible to prevent rescan blockchain again when monero-wallet-rpc is starting?
-
jwinterm[m]
>
-
jwinterm[m]
> >2022-08-19 19:48:30.309 7f8fa6e567c0 WARNING wallet.wallet2 src/wallet/wallet2.cpp:2210 Received money: 5.080102295000, with tx: ....
-
jwinterm[m]
You shouldn't need to if you shut it down with Ctrl+c or normal terminate signal
-
jwinterm[m]
I think
-
plowsof
"store" saves the wallet state (close_wallet will also store before closing)
-
plowsof
-
rogu157[m]
I'm using systemd to control monero-wallet-rpc. Source:
paste.debian.net/hidden/eff126ff
-
rogu157[m]
After restarting monerow.service: `systemctl restart monerow`, monero-wallet-rpc start scanning blockchain again, but it did and finished it before restarting service.
-
midipoet
selsta: excuse my ignorance, but to start monerod with the environment variable, is the command just "./monerod MONERO_RANDOMX_UMASK=8"?
-
selsta
other way around
-
selsta
MONERO_RANDOMX_UMASK=8 ./monerod
-
midipoet
Will try now
-
midipoet
seems stable so far, will let run and see if I can catch up without the error appearing.
-
woodser[m]
I have a stagenet .keys file here from a multisig wallet created in a haveno trade, which I cannot for the life of me get to recognize the transactions sent to it. if I manually create a view-only wallet with the view key and address, it scans and finds the transactions no problem. but if I open a wallet with the .keys file, it correctly reports the address and view key, but no transactions. I've tried deleting the cache, opening with a
-
woodser[m]
low restore height, calling rescan_spent, and rescan_blockchain, but no transactions. I don't see anything wrong when the wallet was created, but seems corrupted?
-
woodser[m]
possibly it's because my binaries had #8513 and my peer's did not, but I don't know if the .keys file would be affected
-
UkoeHB
vtnerd: ok I'm satisfied with this solution
github.com/UkoeHB/monero/blob/db980…aphis/sp_generator_factory.cpp#L100 you are right that centralizing the bounds check is better