-
vdero133[m]
Is there any documentation/setup for wallet "push" notifications over JSON-RPC? (a la --tx-notify)
-
librehash
Hey everyone - how's it going?
-
moneromooo
There is no wallet "push" notifications over JSON-RPC? There is over 0MQ though.
-
moneromooo
Try commit messages probably.
-
fluffypony
theorem: I don't think GitFlow is well suited to organised-through-chaos FOSS projects like Monero
-
fluffypony
that said, we already have something similar with releases
-
fluffypony
major releases go into their own branch
-
fluffypony
and then bug fixes get pushed both to master *and* to the branch
-
fluffypony
so that the point release can be built off of the branch
-
fluffypony
whilst master continues to be the main development point
-
fluffypony
we just don't do feature branches on the main repo, although individual developers do
-
vdero133[m]
<moneromooo "There is no wallet "push" notifi"> From discussion with vtnerd, JSON-RPC supports server->client messages, if we currently are not implementing it, is there any docs I could have a look at relating to this? (I didn't know JSON-RPC over HTTP supported this). Also 0MQ is only available on the daemon AFAIK.
-
moneromooo
Oh really. That's weird. I thought I'd remembered something like that.
-
moneromooo
Maybe that got added when I wasn't looking :)
-
vdero133[m]
No worries, see issue #7408 for context
-
newpseudonymn[m]
What happens if I import the Blockchain without verifying it? (Parameter "--verify 0")
-
moneromooo
You are vulnerable to bad data not being detected.
-
newpseudonymn[m]
Bad data, as for example just a bit flip or could the blockchain have been tampered with?
-
moneromooo
Did you generate that blockchain file ?
-
newpseudonymn[m]
No
-
newpseudonymn[m]
It's just an example. Let's say I got it from an untrustworthy source.
-
moneromooo
So you're asking if a third party could have tampered with the data they send you if you don't check it ?
-
moneromooo
Assuming that's no trick question, I'm going to go with yes :)
-
moneromooo
Please leave the messages etc warning about it.
-
newpseudonymn[m]
Sorry if I'm not typing clearly. English isn't my first language.
-
newpseudonymn[m]
I know third parties could tamper with data. My question is: if I import it without verifying it, at what point could/would I know?
-
moneromooo
You might never know if you don't check.
-
newpseudonymn[m]
Thank you for your answers :)
-
WillSellBodyForX
Where is it specified that you can only lock funds for 1,000,000 blocks and why was 1,000,000 chosen?
-
moneromooo
src/simplewallet/simplewallet.cpp IIRC, and arbitrary. The limit is just client, the daemon will accept larger values.
-
WillSellBodyForX
Why was a block time of 2 minutes chosen? Why not 1 minute?
-
WillSellBodyForX
I imagine there's some security/privacy reason, correct?
-
moneromooo
Yes.
-
moneromooo
Arbitrary really.
-
moneromooo
Mutliples of 1 minute are easier code wise.
-
moneromooo
It used to be 1 minute originally.
-
WillSellBodyForX
Do you think that the block time will increase in the future?
-
WillSellBodyForX
IE If I wanted to lock away funds for 5 years, that is dependent on block time, and therefore an increase to 3 minutes would turn that 5 years to 7.5 years suddenly.
-
moneromooo
You can lock till a given time too. UNIX time in seconds since the epoch (1970).
-
WillSellBodyForX
Ooooo, awesome
-
luigi1111
rather unlikely the block time changes again
-
WillSellBodyForX
Like ever?
-
WillSellBodyForX
Or for the considerable future?
-
hyc
moneromooo: that lock time is not limited to 32 bits is it? if so it will run out in 2038
-
sech1
it's 64 bit
-
hyc
cool
-
sech1
~584.5 billion years ought to be enough for everyone
-
gingeropolous
in my head the only rational to increase blocktime would be to mitigate orphan rates caused by large blocks
-
gingeropolous
but that should also just be a force to drive smaller blocks
-
gingeropolous
as the network reaches an equilibrium
-
hyc
interesting point. Is there anything in current monerod that notices if its last block was orphaned, and dials down block size in response?
-
moneromooo
No.
-
WillSellBodyForX
What would happen to fees if we reached a rate of 5,000 tps for a significant amount of time? What about 10,000 tps?
-
hyc
certainly not urgent
-
moneromooo
Not sure it really matters since most txes will be already known to peers, so only txids get sent.
-
moneromooo
Try #monero, this doesn't really seem development related.
-
WillSellBodyForX
Oops, sorry about that
-
WillSellBodyForX
Where is the dictionary mapping the triplets of mnemonics to bytes?
-
moneromooo
src/mnemonics
-
gingeropolous
hyc, i think this would be a response by miners. i don't think its necessary for the protocol to dial it back. miners would notice that large blocks are getting orphaned so they'd dial it back
-
gingeropolous
of course, we could end up seeing the same thing that bitcoin has seen, with the development of a secondary high speed block relay network overlay thing
-
gingeropolous
so that natural equilibrium could be irrelevant, and 2 minute block target could be fine
-
mj-xmr
moneromooo, you might want to take a look:
-
mj-xmr
-
mj-xmr
I'll be back later.
-
moneromooo
Sure.
-
moneromooo
(I've not looked in detail, but the concept seems fine)
-
sethsimmons
How can I fix `Submodule 'external/miniupnp' is not up-to-date.` on release-v0.17?
-
sethsimmons
Trying to build mymonero-lws which relies on release-v0.17, but not sure how to get past the miniupnp error.
-
gingeropolous
theres a thing on the pr
-
gingeropolous
<iDunk> git submodule sync
-
gingeropolous
<iDunk> git submodule update
-
gingeropolous
hi iDunk
-
sethsimmons
Perfect, thanks :D
-
WillSellBodyForX
on line 281 in electrum-words.cpp there's this line "const size_t expected = len * 8 * 3 / 32;"
-
WillSellBodyForX
I don't understand why it's necessary, why are we multiplying by 24 and then dividing by 32? Also why not just multiply by 3 then divide by 4? Thanks
-
moneromooo
Grepping for calls, len is sizeof(dst), so len is the nunmber of bits in dst. I think the seed is 3 words for 32 bits (so 24 words for 256 bits).
-
WillSellBodyForX
Is there any code for the atomic swaps yet on github?
-
moneromooo
I think they're still in the specs stage.
-
WillSellBodyForX
Ok so I tried to decode what was happening on this line but I absolutely gave up
-
WillSellBodyForX
w[0]= w[1] + word_list_length * (((word_list_length - w[1]) + w[2]) % word_list_length) +
-
WillSellBodyForX
word_list_length * word_list_length * (((word_list_length - w[2]) + w[3]) % word_list_length);
-
WillSellBodyForX
What the heck is going on there? I think w[0] represents the bytes of a triplet of words, right?
-
moneromooo
A bit of a complex way to convert between 32 byte words and word list indices.
-
WillSellBodyForX
Where is the private spend key used to generate the private view key?
-
WillSellBodyForX
Sorry if it seems like I'm asking a bunch of noob questions, but I have an idea for something I'd like to make, and I'd like to know what I'm doing lol
-
moneromooo
It's typically generated by getting random bytes off the OS PRNG.
-
tobtoht
WillSellBodyForX: grep for keccak in src/cryptonote_basic/account.cpp