-
charolastra
how closely are the wallet-cli/rpc and the deamon connected. i've noticed that the wallet blockheight is dealayed to the daemon
-
M7918070_[m]
Does Monero support cross-chain atomic swaps, or is multisig your only option?
-
M7918070_[m]
-
M7918070_[m]
-
M7918070_[m]
It's also possible to do it with an intermediary which is trusted to not be outright scammy but doesn't have to be trusted - just do escrow, but of the actual txns instead of holding the coins
-
M7918070_[m]
A really ghetto way would be to use the private->public key function as a hash function.
-
M7918070_[m]
Then you could do cross-chain swaps between ETH and XMR: set up a 2-of-2 multisig address in Monero, and a contract that requires the private key in Ethereum. Since you can do cross-chain swaps between (for instance) BTC and ETH, that means you can do multi-leg XMR <-> BTC swaps.
-
bigslim[m]
whats up with the twitter feed in the GUI source? Was this ever intended to be used?
-
gingeropolous
back in the day, like 2014, packing that kind of stuff into guis was considered .... useful? I dunno. I never understood it
-
bigslim[m]
its calling your requested feed on your account and or slected users
-
bigslim[m]
I dunno why anyone would ever want that specifically
-
bigslim[m]
-
gingeropolous
uh, a windows installer for the GUI
-
bigslim[m]
is that some additional installer or is it just the source that builds the windows installer for gui?
-
rbrunner
bigslim: Check the ReadMe. It's an InnoSetup script able to build a standalone Windows installer exe for the Monero GUI wallet.
-
rbrunner
It came in with stoffu's code rebase from Monero and looks unmodified, so would of course not work for AEON without modifications.
-
nonie
All the videos from 36c3
media.ccc.de/c/36c3
-
fullmetalScience
Hey, how is the second char of an address determined?
-
moneromooo
By the low bits of the spend key IIRC.
-
moneromooo
See get_account_address_as_str.
-
immans
hello all
-
fullmetalScience
From there, I've ended up checking the code in config::testnet, but the NETWORK_ID's provided there don't make much sense to me yet.
-
fullmetalScience
... or my decoder is just wrong. A testnet base58 prefix can be ... 9, A or H, right?
-
moneromooo
I never saw H. Subaddresses maybe ?
-
asymptotically
fullmetalScience: because of the way the base 58 encoding works, one byte can influence more than one character in the final string
-
fullmetalScience
Given the "18" that indicates the main network, how do I get to the "4" that leads any mainnet primary address?
-
asymptotically
don't look at the 4. decode the full base58 string and look at that instead
-
fullmetalScience
Okay, but how is it "ensured" then that all primary addresses start with a 4? Or, how is it ensured that the entirety of the factors don't cause a different starting character?
-
fullmetalScience
Afaiu we merge 18 + pubspend + pubview + csum
-
fullmetalScience
concat*
-
asymptotically
it's like going to hex, or to octal (just scarier and more upsetting)
-
moneromooo
Binary.
-
moneromooo
er, input is binary, output is text.
-
moneromooo
The 18 is 0x18 IIRC. All the rest is binary appended to it.
-
moneromooo
Keys, checksum. Possibly payment id.
-
fullmetalScience
Okay, so the network byte is converted separately?
-
moneromooo
The fact that the first byte is 0x18 ensures you get a 4 prefix.
-
moneromooo
I don't think so.
-
asymptotically
no it all happens at once. base58(0x18 || public spend key || public view key || hash of previous)
-
asymptotically
what language are you implementing your decoder/validator in? i have a java one you're welcome to steal :)
-
moneromooo
I have a C++ one you're welcome to copy if you abide by the BSD licence ^_^
-
fullmetalScience
It's more about understanding the internals :)
-
moneromooo
Maybe look at the base58 unit tests.
-
asymptotically
you can hurt yourself on c++. just sign all of your memory away to the jvm and embrace java
-
fullmetalScience
For example, I had thought that testnet always starts with 9. Mastering Monero confirms that. But I created a testnet wallet that starts with A
-
asymptotically
testnet wallets always start with the byte 53, 54, or 63. you can play around with different starting bytes on
xmr.llcoins.net/addresstests.html
-
asymptotically
use inspect element to change the box, and make sure to enter it as hex instead of decimal
-
moneromooo
Then Mastering Monero is wrong. 9 and A are both valid for testnet.
-
moneromooo
Only 4 for mainnet.
-
fullmetalScience
... and how do we know which possibilities exist for the second char?
-
moneromooo
It depends where the mapping starts really. To compare with real numbers for simplcity: If your keyspace is 0.5 wide, and it starts at 3.4, then all your keys will start with 3. If the keyspace starts at 3.8, ~40% will start with 3, and ~60% wil start with 4.
-
fullmetalScience
Like, it seems for testnet (9) "t" to "z" is possible, while for testnet (A) there are other stings
-
fullmetalScience
chars*
-
moneromooo
You can make a good guess by encoding the keys 00.00 and ff..ff.
-
moneromooo
That'll encompass your keyspace.
-
fullmetalScience
Ah that's why we have like 9t - Awhatever
-
moneromooo
Not all keys are valid in that full space, but close enough.
-
fullmetalScience
So can we know for sure beforehand which combinations for the first to characters in the base58 encoding come up?
-
fullmetalScience
Let's say I've seen 9t, 9u, 9v, 9w, 9z, A0, A1 so far. Is it certain that 9x or 9y also exist as possibilities? (just an example)
-
asymptotically
you can figure them all out if you want, but imo it doesn't matter, only the bytes it represents matter
-
fullmetalScience
Backround: The vanity address generator at moneroexamples/ doesn't allow searching for A2. I know however, that A2 is a possible address.
-
fullmetalScience
Haven't checked its code yet, but I'd guess that would indicate it to just hold a hard-coded list of possibilities it checks against when the user makes their choice.
-
fullmetalScience
By the way, does anyone know how to get into private testnet mode on Monerujo?
-
fullmetalScience
Or common testnet, fwiw.
-
camthegeek`
happy new year fellow monero'ers! :)
-
rottensox
you're a masari mole.
-
rottensox
get out.
-
camthegeek`
all paths lead to home rottensox