-
xmr-pr
da-kami opened issue #7624: monero-wallet-rpc `--password-file` should be disallowed with `--walle...
-
xmr-pr
-
mj-xmr
I will be either unavailable until Monday, or will write from a secondary nickname.
-
Space[m]1
How to delete subaddress in monero gui?
-
moneromooo
You'd clear its label I think.
-
xmr-pr
mahnunchik opened issue #7627: wallet2::balance -> m_light_wallet_unlocked_balance, wallet2::unlocked...
-
xmr-pr
-
mhoqbpvzh
If only one of you gave Papa ChooChoo some TLC when I wrote a faster miner, instead of ignoring him, things could have happened differently
np.reddit.com/r/Monero/comments/5lsfgt/_/dbz0jnp
-
xmr-pr
frankwalter1301 opened issue #7630: Exception in main! boost::filesystem::unique_path: Function not implem...
-
xmr-pr
-
moneroismycoin
Why is the monero repository locked to contributors only?
-
moneroismycoin
I cannot comment on an issue
-
moneromooo
Because some asshole is spamming issues/PRs/comments every few hours.
-
moneromooo
fluffypony: ^
-
moneromooo
People just trying to shit up the world... What a life it must be...
-
moneroismycoin
ah I suspected it
-
moneroismycoin
moneromooo this the log you asked me btw
pastebin.com/raw/JDLWjKnC
-
moneromooo
Thanks
-
moneromooo
I think the best we can do here, since this is the mmap support test, is to proceed. I'll have patch for you in a few minutes, just checking it builds.
-
moneromooo
Hopefully all the other filesystem things are implemented...
-
moneromooo
-
NeighbourlyGuy
-
NeighbourlyGuy
That for loop at the end, shouldn't it only remove unspent keyimages until the transaction input that caused the stop?
-
NeighbourlyGuy
spent*
-
moneromooo
Yes, but the txn will be aborted anyway, so what it does doesn't actually matter AFAICT.
-
moneromooo
So it removes all it's done so far, plus stuff it hasn't yet done.
-
NeighbourlyGuy
But what if that stuff it hasn't yet done is actually a double spend?
-
NeighbourlyGuy
The validation that goes before calling any of these functions is quite stringent, so an unknown input type should never even reach this code but that might not be the case in the future.
-
moneromooo
Your question ("what it...") is way too open ended. Ask a more precise question.
-
NeighbourlyGuy
Assume a transaction with the following transaction input types: [ unknown type, double spend txin_to_key ], the reverting logic in the for loop would cause the second element which was an attempted double spend to have its keyimage removed from the database.
-
NeighbourlyGuy
AFAICT this code is the code responsible for double spend prevention. The add_spent_key would fail on a double spend and throw an error.
-
moneromooo
Ah. And the function returns void rather than an error or an exception. Good point.
-
moneromooo
Adding a throw there (and getting rid of the removals) probably hardens this.
-
NeighbourlyGuy
-
NeighbourlyGuy
That add_transaction() is called by add_block(), which means this function is the only double spend prevention code at the moment.
-
moneromooo
Hrm. Plausible enough so far.
-
NeighbourlyGuy
It will never pass transaction validation though, but it's worth hardening it since it seems pretty critical.
-
moneromooo
Do you agree that throwing in that function (instead of just return;) would fix it ?
-
moneromooo
(and not bothering with removing)
-
NeighbourlyGuy
I don't know enough about the monero codebase to make such assesment, I'm just a security researcher. You don't ask a bulldozer to build your house hehe.
-
moneromooo
OK, I'm pretty sure it's enough :)
-
moneromooo
Always good to make sure though. Is "NeighbourlyGuy" OK for credit for the report in the commit message ?
-
NeighbourlyGuy
Ahh, I just typed in a random name, I'm from
keyboardwarrior.be, but putting in KeyboardWarrior is good enough.
-
moneromooo
Got it, thanks.
-
NeighbourlyGuy
No problem, thank you as well.
-
moneromooo
Patched, I'll PR after tests pass, just in case. Thanks.
-
xmr-pr
ndorf opened pull request #7631: cmake: Don't default to -march=native on OpenBSD
-
xmr-pr
-
xmr-pr
ndorf opened pull request #7632: cmake: Don't default to -march=native on OpenBSD
-
xmr-pr