-
ooo123ooo1234567
<UkoeHB> "Although from one point of view,..." <- Any change to cryptography falls into this category. But for some reason bulletproofs+ are not protected by experimental flag. Inconsistency is everywhere
-
ooo123ooo1234567
<luigi1112> "let's improve it" <- The best time is before or after hardfork ?
-
ofrnxmr[m]
Ooo, being angry doesn't get us anywhere.
-
ofrnxmr[m]
You know the answer to that question is "as soon as someone improves it"
-
ooo123ooo1234567
<luigi1112> "on a related note, improving..." <- `dedicated_maintainer = random.choice(monerokon.members)` would it work ?
-
ofrnxmr[m]
Propose a solution or a direction towards one
-
ofrnxmr[m]
The opposite doesnt help. Its like telling a fish that it is wet.
-
ooo123ooo1234567
"
monero-project/monero #7760#issuecomment-1144626397", "Just that it turned out to be a dead end, only speaks for him, that he can think self-critically, and not that I'm not helping." incompetent developer justify blind approve by saying that PR author can think self-critically; facepalm
-
selsta
.merges
-
xmr-pr
8296
-
MeowingCat
is there a Monero node service??
-
MeowingCat
i need to get UTXOs
-
UkoeHB
MeowingCat: there are remote nodes volunteered by community members (and possibly malicious actors)
-
UkoeHB
or you could be your own node...
-
MeowingCat
i will setup a node but i need one to test rn
-
MeowingCat
im working on building and signing transactions
-
chesterfield[m]
Some good resources here MeowingCat
community.rino.io
-
MeowingCat
looooooking thank youuuuuu
-
selsta
.merge+ 8358 8357 8356
-
xmr-pr
Added
-
MeowingCat
ohhh damnn
-
MeowingCat
this is a node
-
MeowingCat
i hope there is an RPC server like BTC
-
MeowingCat
isn't there a Monero RPC server i can use???
-
selsta
MeowingCat: you have to be more precise with what you are looking for
-
MeowingCat
there is an RPC service in Monero client
-
MeowingCat
buttt is there an online service that i can use rn
-
MeowingCat
i didn't setup my own Monero node yet
-
MeowingCat
i need to get Monero UTXOs (on testnet)
-
HenryHollingwort
-
MeowingCat
HenryHollingwort, is there an online service for tesnet???
-
HenryHollingwort
run the wallet rpc server locally and connect to testnet daemon right?
-
HenryHollingwort
use testnet faucet if you want txmr
-
MeowingCat
but i need to download all blockchain
-
HenryHollingwort
no
-
MeowingCat
ohh
-
MeowingCat
how??
-
cryptogrampy[m]
There's a big list of nodes here, including stagenet and testnet:
monero.fail
-
HenryHollingwort
wallet rpc server ---internet---> [daemon { blockchain} ] ---> peers
-
MeowingCat
ummm
-
cryptogrampy[m]
you run wallet rpc locally and point it at a public (or local) daemon
-
MeowingCat
ohh got it
-
MeowingCat
okiiiii
-
mj-xmr[m]
Hi MeowingCat ,
-
mj-xmr[m]
We have #monero channel for this :)
-
freedomf8ter[m]
Hi everyone! How would you go about integrating a front end application with Monero? Monero doesn’t have an API, right?
-
sech1
-
moneromooo
There's also a number of higher level APIs, see the monero-ecosystem github user. Also, "monero integrations" for really high level (as in, plugins for a number of online shop software).
-
freedomf8ter[m]
<sech1> "It does have an API:
www..." <- Thanks. I guess I missed it.
-
spirobel[m]
<freedomf8ter[m]> "Hi everyone! How would you go..." <- if you want to get started quickly you can just fork this repo. I collected some scripts there to play around with the wallet rpc
github.com/spirobel/monero-playground
-
spirobel[m]
you can also take a look at
moneropay.eu people work on making the wallet rpc more stable and accessible.
-
spirobel[m]
but probably still good to play with the wallet rpc so you get a feel for it.
github.com/monero-ecosystem/monero-javascript is also very good.
-
spirobel[m]
and also maybe read cryptogrampy s hotshop source code if you are into typescript.
github.com/CryptoGrampy/HotShop
-
hyc
weird. CI is failing to compile my last push to #7774 but it compiles fine on my ubuntu laptop
-
cryptogrampy[m]
<freedomf8ter[m]> "Hi everyone! How would you go..." <- spirobel: already linked to my HotShop project, but it's essentially an in-browser view-only web-wallet that talks directly to public (web-compatible) Monero nodes.
-
MeowingCat
can anyone tel me Monero's transaction struct
-
MeowingCat
struct monero_tx {
-
MeowingCat
char* m_address;
-
MeowingCat
uint64_t m_amount;
-
MeowingCat
monero_dest* m_destinations;
-
MeowingCat
char* m_payment_id;
-
MeowingCat
priority m_priority;
-
MeowingCat
uint32_t m_ring_size;
-
MeowingCat
uint64_t m_fee;
-
MeowingCat
uint32_t m_account_index;
-
MeowingCat
uint32_t m_subaddress_indices[];
-
MeowingCat
uint64_t m_unlock_height;
-
MeowingCat
bool m_can_split;
-
MeowingCat
bool m_relay;
-
MeowingCat
char* m_note;
-
MeowingCat
char* m_recipient_name;
-
MeowingCat
uint64_t m_below_amount;
-
MeowingCat
bool m_sweep_each_subaddress;
-
MeowingCat
char* m_key_image;
-
MeowingCat
}
-
MeowingCat
(sorry for multiline) is this correct??
-
MeowingCat
this is what i understand from Monero source
-
hyc
that's what pastebins are for. if it's in the source, then it is correct.
-
MeowingCat
i have to be sure :(
-
MeowingCat
because im still dealing to build a correct transaction
-
chesterfield[m]
wrap your code in ``` ``` or use pastebin
-
MeowingCat
this thing loooks like something different
-
MeowingCat
something like a command for another interface
-
MeowingCat
chesterfield[m], okiiiiii
-
hyc
no, never do multiline pastes, quoted or not. just use pastebin.
-
UkoeHB
For some reason `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON` isn't exporting anything for the tests folder... anyone have any clues what I should do? Apparently it used to work, but who knows what I did...
-
MeowingCat
i just need memory representation of a transaction
-
MeowingCat
like C types or byte lengths and damn endiannes
-
UkoeHB
MeowingCat: for serialization?
-
MeowingCat
in this context serialization means encoding the transaction as hex
-
MeowingCat
i think
-
MeowingCat
i will serialize it and send to RPC server
-
MeowingCat
after signing
-
MeowingCat
im making a C# library for our thing also
-
MeowingCat
just transaction building/signing is left
-
vdo
has anyone tried to call libwallet API from Rust using CXX ?
-
MeowingCat
please anyone tell me Monero's transaction struct :(((((((((((((((((((((((((((((((((((((((((((((((((((
-
UkoeHB
MeowingCat: you probably want to check cryptonote_basic/cryptonote_basic.h class transaction;
-
MeowingCat
UkoeHB, looooooking thank youuuu <3
-
MeowingCat
i really don't understand why this source is like this
-
MeowingCat
everything could be more understandable
-
MeowingCat
with just C
-
MeowingCat
just a struct and serializing it is very simple
-
hyc
using C++ was definitely a poor choice
-
MeowingCat
:((((((
-
hyc
but it's what we inherited from cryptonote
-
hyc
no one has the time to rewrite it all in plain C
-
MeowingCat
i understand Monero software has tons of stuff and using tons of libraries for them and all of things is very complicated and toooooo mcuh work to implement
-
MeowingCat
but C++ and ridicilious design patters makes everything worse
-
hyc
yep. totally agreed.
-
MeowingCat
im really happy to see an intelligent person
-
UkoeHB
ok found my problem, generating the build tree with `cmake -B build -S . -D_....` was the wrong choice, I just need to rely on `make`...
-
MeowingCat
UkoeHB, there is no any transaction struct here :(((((
-
MeowingCat
is `transaction` class the thing that is being serialized????
-
MeowingCat
and holds things about the transaction?*
-
UkoeHB
yep pretty much
-
hyc
has to all be crunched by a bunch of libboost serialization code
-
hyc
PITA to pot to other languages
-
hyc
port*
-
MeowingCat
UkoeHB, this is making me cry
-
MeowingCat
just 5-10 lines
-
MeowingCat
that tells the memory representation of a transaction
-
UkoeHB
MeowingCat: dealing with monero code requires time and patience, no way around it
-
hyc
We really need a proper protocol spec, written in BNF
-
UkoeHB
might be worth putting up a bounty for that
-
moneromooo
If you do, it should include a requirement for tests that pass every tx in the chain.
-
hyc
makes sense
-
moneromooo
Well, not every one since it'll have to be done manually I guess. But a sample of known txes that exercise various stuff.
-
UkoeHB
moneromooo: easy enough `bool validate_tx_test(const cryptonote::transaction &tx) { return true; }` :p
-
UkoeHB
however, it would be good to get a parallel tx validator that can be manually validated
-
MeowingCat
i derived things
-
hyc
isn't that python project already doing that?
-
MeowingCat
pub/sec spend/view keys, pub address
-
UkoeHB
MeowingCat: you can look at the json representation to get started, although idk about the wire format
-
MeowingCat
does RPC service accept JSON?
-
MeowingCat
i will just UTXOs
-
MeowingCat
get* UTXOs*
-
MeowingCat
build and sign transaction and broadcast
-
hyc
sounds like you're reimplementing libwallet
-
MeowingCat
yess im making a C# library
-
MeowingCat
i will use that in the app im making
-
MeowingCat
im using C# because Godot has Mono and it is cross-platform with Godot
-
MeowingCat
-
MeowingCat
i need an explaination like thissssss
-
UkoeHB
hyc: yeah the python library is
moneroinflation.com, although there is no spec to match against
-
UkoeHB
MeowingCat: sounds like something you could work on
-
MeowingCat
:((((((((((((((
-
MeowingCat
please someone stopp C+++++++ and design patterns shits
-
hyc
CI macos build fails due to not finding OpenSSL
-
hyc
CI windows build fails due to no def of std::numeric_limits ?
-
hyc
-
hyc
not giving me warm fuzzies here
-
UkoeHB
MeowingCat: for the next gen protocol, I'm trying to do things a little more cleanly (not that it helps you :p)
github.com/UkoeHB/monero/blob/9e185…c/seraphis/txtype_squashed_v1.h#L70
-
MeowingCat
loooooking
-
MeowingCat
UkoeHB, is this a transaction structure?
-
UkoeHB
yes
-
MeowingCat
m_input_images, m_outputs, m_balance_proof, m_image_proofs, m_membership_proofs, m_supplement, m_fee, m_tx_semantic_rules_version
-
MeowingCat
i need to build the transaction with these???
-
MeowingCat
what does "input_images" mean?
-
UkoeHB
For seraphis you would, it's experimental and WIP. The current protocol has similar components.
-
MeowingCat
is "m_outputs" UTXO inputs????
-
UkoeHB
Input images are masked versions of the real inputs you are spending (including the key image). Outputs are the literal outputs - the new enotes (aka UTXOs) created by the tx.
-
UkoeHB
monero has a lot of cryptography, so there is a lot more in a monero tx than a bitcoin tx
-
hyc
you're probably better off using a foreign function interface and calling monero libwallet from your app
-
hyc
would be a waste of time to implement all of the crypto mechanisms from scratch in C#
-
UkoeHB
yeah, there's a good reason no one has every written a full third-party monero wallet
-
UkoeHB
ever*
-
hyc
even if it was easy to do it wouldn't be a good idea. would make fingerprinting possible.
-
UkoeHB
most of that can be avoided with strict semantic rules
-
UkoeHB
although decoy selection is a weakness
-
UkoeHB
decoy selection, fees, and tx extra
-
wernervasquez[m]
<hyc> "even if it was easy to do it..." <- I disagree. Any activity which exposes weaknesses is a great idea. Such endevors would hasten the development of a more secure specification.
-
moneromooo
That... is a fair point.
-
moneromooo
Where it gets dicey is for monerod.
-
moneromooo
Shoutout to dangerousfreedom here :D
-
moneromooo
I think that's a good sweet spot.
-
hyc
yeah I suppose if we actually had detailed protocol specs it would be viable
-
hyc
so that is clearly the next step before one can safely create a new implementation
-
dangerousfreedom
This week I almost had a heart attack. I had scanned 200k borromean signatures and suddenly one failed. I tried to rewind the blockchain to print exactly what was happening but it was faster to start from 0, when I reached my desired tx, I printed every point multiplication and realized it was an error in my code. The scalar reading was not reading the same value as it was in the blockchain. I still don't know why because it has
-
dangerousfreedom
worked for hundred of thousands of txs... I will take a look another time :p
-
hyc
lol
-
hyc
and with some languages (e.g. javascript) having completely braindead data types and arithmetic behaviors, even a precise spec may not be enough
-
hyc
or you have to define the spec down to the behavior of basic arithmetic ops
-
UkoeHB
MeowingCat: on deeper thought, fully reimplementing monero txs in C# is a huge job. You'd need to implement both CLSAG and bulletproofs(+), in addition to output scanning, tx building logic (there are non-trivial details e.g. decoy selection, fee calculations, when and how to make special change outputs...), etc. Wrapping monero libwallet seems like your best bet.
-
MeowingCat
:((((((((((((((((((
-
MeowingCat
i will get UTXOs with sending private view key to our node
-
UkoeHB
You didn't want to read Zero to Monero, but it is a long book because there are a lot of complicated things to think about.
-
MeowingCat
does that need something that i can't get from RPC service???
-
MeowingCat
i think the important question is thissss
-
MeowingCat
does building a transaction need something that i can't get from RPC server?
-
UkoeHB
-
moneromooo
You can do pretty much everything from RPC. It depends how low level you want to go. See the functional tests for what can be done. This is all done via RPC.
-
moneromooo
But "biulding a transaction" here is "please send N to address A".
-
MeowingCat
the only thing i can send to RPC server is private view key
-
moneromooo
The RPC server would have your secret keys in the first place.
-
moneromooo
But I concur with "Wrapping monero libwallet seems like your best bet".
-
UkoeHB
-
MeowingCat
you mean i can't build a transaction with things from Monero's RPC server with just sending private view key???
-
moneromooo
Correct. If you could build a valid tx without the private spend key, I think it might lead to pessimal action on chain...
-
MeowingCat
nooooooooo
-
MeowingCat
i don't mean that :((((((((((((((
-
MeowingCat
i just need to build a transaction without sending private spend key anywhere
-
MeowingCat
i can send private view key to RPC server
-
MeowingCat
and get UTXOs
-
MeowingCat
and whatever i need
-
MeowingCat
then build and sign a transaction
-
moneromooo
Wait. I might have assumed too much:
-
MeowingCat
just like MetaMask
-
UkoeHB
MeowingCat: did you hear me? To build a transaction, you need to implement all the monero cryptography. This is months of work.
-
moneromooo
In the case I envision you in, you'd have two pieces of software:
-
moneromooo
- monero-wallet-rpc
-
moneromooo
- your own software
-
moneromooo
monero-wallet-rpc would (1) have the spend key and (2) build transactions
-
moneromooo
The side which builds the tx obviously needs the spend secret key.
-
MeowingCat
UkoeHB, whyyyyy it is just a simple thing what do i need else than UTXOs???
-
UkoeHB
cryptography
-
moneromooo
Now, what was suggested above (wrapping wallet2) means those who pieces of software would merge into one.
-
UkoeHB
-
moneromooo
Then you would not need to send the spend secret key anywhere, since you'd make the tx. I'm sorry if I'm getting the wrong idea, it's not qiute clear to me which case you're in.
-
moneromooo
But when I said "Correct. If you could build a valid tx without the private spend key, I think it might lead to pessimal action on chain...", I meant "if another piece of software is gonna build the tx, it's gonna need the spend key".
-
moneromooo
I was assuming you'd talk to monero-wallet-rpc here, which needs the spend key (and already has it).
-
MeowingCat
yesss
-
moneromooo
It's the same for bitcoin fwiw. I assume. You need the spend key to create a tx.
-
moneromooo
Well, the key. They have just one for view and spend AIUI.
-
MeowingCat
i mean the client appp im making has private spend key and needs to build and sign a transaction
-
moneromooo
So you have two main solutions:
-
MeowingCat
how much different a Monero transaction than Bitcoin transaction??
-
moneromooo
1: run monero-wallet-rpc on the side, which has the spend and view secret keys, and you direct it to create txes
-
UkoeHB
MeowingCat: the difference is enormous
-
moneromooo
2: add FFI to wallet2 and call those directly from your process, keeping spend and view secret keys in that process
-
MeowingCat
doesn't monero-wallet-rpc thing need to send private spend key to RPC server?
-
UkoeHB
MeowingCat: in monero, the RPC server is just a wallet interface
-
moneromooo
monero-wallet-rpc IS the RPC server.
-
MeowingCat
yesssss it is just an interface to use Monero appppp
-
moneromooo
Well, there areo two RPC servers. The wallet's and the node's. The node will never need your keys.
-
moneromooo
That might be the cause of a misunderstanding :)
-
MeowingCat
and in this context the thing that builds and signs transactions is Monero software
-
moneromooo
"Monero software" is not precise enough here.
-
MeowingCat
i mean private spend key can't get out from user's wallet
-
moneromooo
It does not need to leave monero-wallet-rpc's process.
-
MeowingCat
really???????
-
moneromooo
The process that creates the tx needs it. No other one does.
-
MeowingCat
im confuseddd
-
MeowingCat
:((((((((((((((
-
MeowingCat
i need to drink cola
-
moneromooo
I think the confusion might have been from me assuming you had some software which had the spend secret key, *plus* moneor-wallet-rpc, which will also need to know it.
-
moneromooo
But your software does not have to know it, unless you want it to know it for other reasons (eg, creating it in the firts place).
-
MeowingCat
the wallet im making has all keys
-
MeowingCat
and should not send private keys except private view key
-
MeowingCat
you mean monero-wallet-rpc thing doesn't need to send private spend key and can send transactions?????????????????????????
-
moneromooo
Then the process creating that wallet will know the keys. If it's monero-wallet-rpc, you're good.
-
moneromooo
No, I am sauing the opposite :S
-
MeowingCat
im confusedddddddddd
-
MeowingCat
the process is
-
MeowingCat
you mean processsssss???????
-
moneromooo
Mayyyybeeeeeee
-
MeowingCat
im deriving keys in C#
-
UkoeHB
lmao
-
MeowingCat
i can just pass them to monero-wallet-rpc thing
-
MeowingCat
and do you mean that can send transaction without sending private spend key anywhere??????
-
moneromooo
You will have to, unless you reimplement most of wallet2. BUT:
-
moneromooo
Can you get away with letting monero-wallet-rpc create hte keys for you ?
-
MeowingCat
ohhhh
-
moneromooo
If you can, then only one process will ever know the keys: monero-wallet-rpc.
-
MeowingCat
why does it matter??????
-
MeowingCat
private keys are in the processssssss
-
MeowingCat
i meannn
-
moneromooo
Which processssss ?
-
MeowingCat
:(((((((((((((((((((((
-
MeowingCat
client process
-
moneromooo
!!!!!!!!!1
-
MeowingCat
user's wallet appppp
-
moneromooo
That's your C# code ?
-
MeowingCat
yesssssss
-
MeowingCat
just like MetaMask
-
moneromooo
(Your keyboard's fucked btw)
-
MeowingCat
it is same
-
moneromooo
(or, if not your keyboard, some wetware)
-
moneromooo
Anyway, to recap:
-
MeowingCat
wdymm??
-
moneromooo
1: whatever creates the txes must have the spend secret key
-
moneromooo
2: if you want just one proicess to have the spend secret key, it'll have to be hte same process that creates the txes
-
moneromooo
3: so either FFI wallet2 to merge C# and wallet2, or have your C# process ask monero-wallet-rpc to create the keys itself
-
moneromooo
Is that clear ?
-
MeowingCat
i mean does wallet-rpc thing create transactions and sign with private spend key or send transaction information and private spend key for the RPC server to build and sign?
-
moneromooo
monero-wallet-rpc creates transactions and signs them with the private spend key. monero-wallet-rpc is a RPC server and so doesn't need to send itself the keys, it already has them.
-
moneromooo
If by "the RPC server" you mean monerod, the monerod does not need the secret keys. Ever.
-
MeowingCat
ohhh
-
MeowingCat
i thought
-
MeowingCat
you mean
-
MeowingCat
-
MeowingCat
this thing with monero-wallet-rpc
-
MeowingCat
this thing doesn't do that right?
-
moneromooo
I do not understand that question, it is too vague.
-
moneromooo
(rephrase with more specificity)
-
MeowingCat
okiii
-
MeowingCat
-
MeowingCat
build and sign a transaction without sending private spend key??
-
moneromooo
I do not know that lib, but from the name it's probably something that sends RPC. As such, it would not have access to the secret keys.
-
moneromooo
That is my ASSUMPTION from the name only.
-
MeowingCat
i think it is sending private spend key :((((((((
-
moneromooo
If my above assumption is correct (it might not), then it would not build and sign a tx, it would ask a running monero-wallet-rpc client to do so.
-
moneromooo
If my assumption is correct, it would not send the secret spend key. monero-wallet-rpc would have it already in the first place.
-
moneromooo
-
moneromooo
Again, this is all based on my ASSUMPTION based on the name of that project.
-
moneromooo
If someone actually knows that project, they can speak with authority.
-
MeowingCat
:(((((
-
MeowingCat
thank you alllll
-
moneromooo
Also, as said above, you can bypass all this by calling wallet2 directly (that's what I'm doing with Townforge, the wallet that uses the urho3d game engine).
-
moneromooo
It's simpler, only one process has the keys.
-
moneromooo
But if you don't, you can still ensure only one process (monero-wallet-rpc) has the keys. You just need to ask monero-wallet-rpc to create the keys for you, instead of creating them with your C# code.
-
moneromooo
In all cases, monerod never sees those keys.
-
rbrunner
I know that lib,
github.com/monero-ecosystem/csharp-monero-rpc-client. It's just monero-wallet-rpc calls turned into C# calls. A mere wrapper.
-
rbrunner
I use that extensively for my web wallet
-
rbrunner
Like we have other such wrappers e.g. for Python
-
rbrunner
Or Java. Or JavaScript.
-
kayabanerve[m]
<hyc> "using C++ was definitely a..." <- not using rust was a poor choice :(
-
kayabanerve[m]
if the rewrite-in-c crowd gains more traction that the rewrite-in-rust crowd, i'm suggesting rewrite-in-elixir just so no one's happy with what language we're working with
-
kayabanerve[m]
:P
-
kayabanerve[m]
All jokes aside, I do believe C++ was the right choice for a piece of code like this. I believe C++ can be much easier to wield as Monero needs than C, even if C is simpler in a lot of regards. I'm also scared to think of the amount of memory we'd be dealing with in C. While I understand memory can be, and is, used properly, I legitimately believe a C implementation would have less developers participating.
-
moneromooo
I dunno, GW-BASIC has the advantage of being pretty old, so lots of time for review. It's probably the safest.
-
moneromooo
Let's rewrite it in GW-BASIC.
-
kayabanerve[m]
concept ack
-
kayabanerve[m]
can you have a prototype by monday?
-
moneromooo
Fuck no.
-
kayabanerve[m]
preferably with seraphis so we don't add delays there, and also with quantum security because might as well if we're rewriting
-
kayabanerve[m]
boooo
-
moneromooo
GW-BASIC is such an old, safe language, it needs careful implementation. 2062 earliest.
-
kayabanerve[m]
But direct and honest :p Thanks for always being yourself, mooo :)
-
moneromooo
I'll need a salary till then ofc.
-
kayabanerve[m]
and we can't expect results before then, so obviously it should be with tenure to ensure the 2035 community doesn't try to revoke it
-
moneromooo
I'll go beyond poke and hope, and enter to the poke and peek and hope epoch...
-
» moneromooo loves obscure references...
-
nikg83[m]
Is it possible to add more settings for localnode in advanced mode like in/out_peers , blocklist, db sync mode ? Same way like blockchain location is there
-
nikg83[m]
New users don’t find it easy to specify startup flags
-
moneromooo
All of these already exist as command line parameters. If you mean adding console commands, in/out peers exist, not the others.
-
moneromooo
IIRC blocklist was a bit annoying (I looked). db sync mode seems doable fairly easily.
-
moneromooo
Blockchain location, not without a restart.
-
MeowingCat
is the inventor of this thing an alien?
-
jeffro256[m]
yes
-
MeowingCat
goooooooooooooooooooood
-
MeowingCat
-
MeowingCat
why everything about Monero (except itself) can't compile on anywhere????
-
MeowingCat
Monero's itself is interesting tooooo
-
MeowingCat
im getting 1982319823918 warnings
-
MeowingCat
and totally not portable or usable with anything :(((
-
moneromooo
Impressive. It'd take more than a terabyte even with one byte per warning.
-
MeowingCat
:(((
-
nikg83[m]
<moneromooo> "All of these already exist as..." <- Yep, but normal users can’t use cli that well
-
nikg83[m]
Sorry for posting here, was supposed to post in the gui channel
-
moneromooo
Ah, right. Dunno about the GUI then, sorry.
-
MeowingCat
/mnt/c/proje/mymonero-core-cpp/contrib/monero-core-custom/epee/src/wipeable_string.cpp:147:67: error: ‘::max’ has not been declared; did you mean ‘std::max’?
-
UkoeHB
that numeric_limits error sounds like what hyc was talking about
-
MeowingCat
if this code is wrong how does it work in somewhere
-
endogenic
that code is put of date at least
-
MeowingCat
i will make a kilobytecoin
-
moneromooo
#include <numeric> IIRC for numeric_limits.
-
endogenic
my private version is up to date but i'm a hairs width away from being able to publish it
-
UkoeHB
-
UkoeHB
MeowingCat: are you compiling master or a release version?
-
MeowingCat
master of mymonero-core-cpp
-
MeowingCat
let me try a release
-
moneromooo
Then why are you complaining about the monero project if you're compiling anothre related project ? :D
-
chesterfield[m]
<rbrunner> "I use that extensively for my..." <- Link to this wallet?
-
MeowingCat
:(((((
-
MeowingCat
because Monero is making me cry
-
MeowingCat
no doc
-
MeowingCat
and devs who are saying me implementing a tx building and signing is impossible
-
moneromooo
Well, it's Esperanto for "In your face"...
-
endogenic
MeowingCat: perhaps i'll give you access to my version of monero core cop and core custom
-
endogenic
cpp
-
MeowingCat
it is written by an alien and impossible to implement in another platform
-
endogenic
i solved the problem if embedding
-
MeowingCat
and something like that :(
-
endogenic
i wrote the code repo youre using lol
-
moneromooo
Wow. Those devs are ignorant then. It's possible. Proof by example: wallet2.
-
endogenic
idk why you're missing a std
-
endogenic
mooo he's talking about without including the entire world
-
endogenic
and without libunbound lolz
-
MeowingCat
why wallet"2"????
-
MeowingCat
what does that mean???
-
endogenic
MeowingCat: watch my talk lol
-
moneromooo
endogenic: I'm only being sarcastic here :)
-
MeowingCat
endogenic, sorry
-
MeowingCat
im crying
-
endogenic
haha he doesnt know that mooo
-
endogenic
it's ok meowingcat
-
endogenic
endo's here
-
MeowingCat
there are interesting issues
-
moneromooo
I half realize that.
-
MeowingCat
i really wonder about
-
MeowingCat
can i build it for Android, Linux and iOS
-
endogenic
-
endogenic
yes you really can
-
endogenic
if you use my codebase
-
endogenic
tho well for linux you will possibly want to put multithreading back in idk
-
MeowingCat
what is epee library???
-
endogenic
that's really just commented
-
endogenic
MeowingCat: epee is a type of sword
-
MeowingCat
im really curious about these things
-
endogenic
you might call it a tool
-
endogenic
or a util
-
endogenic
el oh el
-
moneromooo
endogenic: that's the idea :D
-
endogenic
trolling now
-
endogenic
man i wish i could release my work wtf
-
endogenic
i mean.. i guess i can now
-
jeffro256[m]
> what is epee library???
-
jeffro256[m]
In the author's own words: "epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier."
-
endogenic
well, almost
-
endogenic
one last thing
-
endogenic
legal related
-
endogenic
give it 1-3 days
-
moneromooo
Someone who knows about git grep ^
-
jeffro256[m]
Learning about git grep was a life changing expereince
-
endogenic
"to make my life easier"
-
endogenic
but not necessarily simpler
-
moneromooo
git bisect was mine. Thank, whoever you are...
-
moneromooo
(but git bisect would be mostly pointless without ccache (which has works for years fwiw), so thank you whoever too)
-
MeowingCat
endogenic, can i cross-compile it on Linux?
-
endogenic
sure
-
endogenic
damnit
-
endogenic
dammit*
-
endogenic
i really want to give you my updated docs
-
endogenic
it details exactly what i changed
-
MeowingCat
-
MeowingCat
error :(
-
endogenic
youre getting tons of weird errors
-
endogenic
chances are this is upstream of "my" code
-
endogenic
that is
-
endogenic
in your cmake lists or in your source code's global includes
-
MeowingCat
it is 1.1.2 branch
-
MeowingCat
nothing changed :(
-
MeowingCat
on Linux
-
endogenic
ok just fyi that code is way old and my access to it was revoked
-
MeowingCat
ummmmm
-
endogenic
my open source PR feedback comments on it were literally censored
-
MeowingCat
i tried to use libwalet.a thing before
-
endogenic
i cant vouch for it, idk what changed but
-
MeowingCat
but Monero source is really interesting
-
MeowingCat
include paths are not relative
-
MeowingCat
and more things
-
endogenic
yeah you could call it interesting lol
-
endogenic
check out mymonero core cpp cmakelists.txt
-
endogenic
how i include headers and sources
-
endogenic
i dont use all of the monero embedded cmakelisfs
-
endogenic
though i would like to
-
endogenic
i'm gonna bounce to another location now. feel free to leave questions
-
MeowingCat
okiii
-
chesterfield[m]
<endogenic> "man i wish i could release my..." <- Plz sir
-
plowsof[m]
rbrunners webwallet is, i believe:
monerotech.info/Wallet
-
chesterfield[m]
Y hold back code you’ll eventually release? 👀
-
chesterfield[m]
plowsof[m]: Why aren’t there any wallets that use wallet rpc?
-
MeowingCat
what is making building transactions complicated this much?
-
MeowingCat
anyone can't implement the same thing in another language
-
MeowingCat
an alien wrote it and we have to use it somehow
-
MeowingCat
endogenic, you have a private repo??
-
chesterfield[m]
chesterfield[m]: Looking for a technical answer here… seems like a selfhosted wallet rpc would be a very low bandwidth solution for a wallet on a phone
-
MeowingCat
if i was making an exchange it would be way easier
-
MeowingCat
because damn build target would be just Linux
-
UkoeHB
chesterfield[m]: do you mean connect to a private server running wallet rpc, and the phone wallet is just an interface for that?
-
chesterfield[m]
UkoeHB: Exactly
-
UkoeHB
probably doesn't exist because it isn't commercially viable
-
MeowingCat
i will rewrite Monero in future
-
MeowingCat
in C
-
MeowingCat
zero issues on building
-
MeowingCat
zero warnings
-
MeowingCat
maybe after that i can make a Kilobytecoin
-
endogenic
MeowingCat: yes, a few of them, some very useful stuff
-
endogenic
them, -> them.
-
MeowingCat
github.com/rohanrhu can you give me access???
-
endogenic
MeowingCat: rewriting C is the idea of one of my team mates as well
-
endogenic
in C
-
endogenic
libmonero
-
MeowingCat
C++ is dumb
-
endogenic
starting as an alternate implementation would be fine
-
endogenic
C++ is not dumb
-
MeowingCat
it is dumbbbbb just making everything problematic
-
endogenic
chesterfield[m]: is that not better solved by the light wallet scanning server?
-
endogenic
either way if you want to use the RPC interface then I wrote a server that pretends to be wallet rpc server and is backed by a light scanning server
-
MeowingCat
actually i can even use CLI with just Monero executable
-
MeowingCat
or run RPC server and communicate
-
MeowingCat
butttt iOS doesn't allow that
-
plowsof
what do you actually want to do MeowingCat
-
MeowingCat
wallet
-
endogenic
he just wants to compile monero core crypto
-
MeowingCat
BTC, ETH and Monero
-
endogenic
MeowingCat: if you share your repo with me then i can at least look and see why you are struggling to compile mymonero-core-cpp
-
MeowingCat
but Monero is not like BTC and ETH :(
-
MeowingCat
i willl
-
chesterfield[m]
endogenic: the light wallet server that doesn’t support sub addresses and has more identifiable transactions?
-
MeowingCat
it will be open source
-
endogenic
it does support subaddrs
-
endogenic
i've had that support built for quite a while now >:)
-
endogenic
it's also very very cool
-
endogenic
jberman and i shared info on a spec for it
-
endogenic
it's pretty simple
-
MeowingCat
i incluuded damn stdexcept in cryptonote_config.h and it is building now
-
MeowingCat
i hope it won't stop somewhere
-
endogenic
as for privacy tradeoffs, well, you just run your own server
-
endogenic
and the txs afaik are not more identifiable beyond that
-
endogenic
it's supposed to be "native" monero
-
endogenic
MeowingCat: woooo
-
MeowingCat
idk how Monero UTXOs work
-
endogenic
yeah i noticed another missing include myself
-
endogenic
well, team member did
-
endogenic
<memory> in wipeable_string.h
-
endogenic
gotta do a PR
-
MeowingCat
and other things buttttt everyone is saying building Monero txs is extremely complicated
-
endogenic
not sure how it happened for him and not me though to be honest
-
endogenic
MeowingCat: it's not complicated if you know how
-
MeowingCat
why there are codde errors in release??? :(((((((((((
-
endogenic
because only a couple people actually try to embed monero code
-
endogenic
well, couple libraries
-
MeowingCat
ohh another error
-
endogenic
feel free to DM me fwiw
-
endogenic
maybe i should make a new IRC room tho
-
endogenic
if this is annoying
-
MeowingCat
i don't think so because here is silent
-
endogenic
this room is more-so for dev on monero code itself
-
endogenic
rather than solving build errors in a third party's lib
-
endogenic
in/on/using
-
nikg83[m]
endogenic: When pr to lws ?
-
endogenic
not gonna pr to lws
-
endogenic
but gonna pr to meta
-
endogenic
to lws spec
-
endogenic
i have a few of them
-
endogenic
soon(tm) trying to do a couple other things for the moment
-
UkoeHB
nothing wrong with C++, it's a tool that can be misused like any other tool (plenty of trash C out there)
-
endogenic
losing a team member (family emergency) so i have to try to do a couple things asap
-
MeowingCat
included limits
-
MeowingCat
now another error
-
MeowingCat
im feeling like shit how this is a release :(((((((((((((((((
-
endogenic
share your (c)makefile plox
-
endogenic
:)
-
MeowingCat
-
endogenic
that makefile builds test targets
-
endogenic
not your application target
-
endogenic
are you trying to use it?
-
endogenic
it's good feedback, if you are
-
endogenic
means i gotta document that better
-
MeowingCat
just doing cmake and cmake --build
-
endogenic
oh, in that repo?
-
MeowingCat
yessss
-
endogenic
oh ok good to know, 1sec
-
MeowingCat
in build direcotry
-
endogenic
this is a build script fwiw
-
endogenic
-
MeowingCat
yessss
-
endogenic
yeah idk why that's erroring for you. i havent tried that repo recently. i also am probably on a different dev env than you
-
endogenic
i mean, i can tell you
-
endogenic
actually nevermind
-
endogenic
i was mistaken about what i was just thinking lol
-
endogenic
maybe something else needs to be included in find_package(…) under your dev system
-
chesterfield[m]
<endogenic> "but gonna pr to meta" <- Does this mean there will be code available for people to run an lws-like thing on their own or not? I can’t tell if you’re going to release code or a custodial solution
-
endogenic
chesterfield[m]: there already exists a monero-lws impl but i think justin hasn't released his code for implementing subaddrs on it yet since he was waiting on people to OK his/our meta spec PR proposing the shape of subaddrs on the LWS API
-
endogenic
as for me we've built internally a new LWS implementation from scratch and it already does subaddrs
-
endogenic
and new client code that fully supports it, which will be open source
-
endogenic
github.com/vtnerd/monero-lws
-
chesterfield[m]
Cool so you’re doing a closed source custodial implementation with an open source client api?
-
endogenic
it's not custodial of the spend key
-
endogenic
it's just for user convenience. i am highly prioritizing client side scanning after that
-
chesterfield[m]
Closed source non-custodial. Got it 👌
-
endogenic
for the server yeah
-
endogenic
it's all just to support something else i'm building lol
-
nikg83[m]
endogenic: Why so much secrecy on what you are building 😅
-
endogenic
oh yeah sorry
-
endogenic
i forgot to reply to that
-
chesterfield[m]
Monero could really use a good open source light wallet server. Hope you reconsider releasing the code for it.
-
nikg83[m]
endogenic: So the specs will be presented and a open source implementation will be done on lws? There is a do not merge pr for subadress, is that waiting this specs ?
-
endogenic
there are the typical reasons why companies like Apple would keep something secret before they release it, and then there are other reasons right now specific to my situation related to precautions I've been taking to protect myself, the code itself, and protect the emergence of a project that's being built on the code that I want the community to be able to have. finally for the scanning server i investigated foreign incorp.
-
endogenic
so that if we held viewkeys for any new users that the jurisdiction would provide optimal insulation against e.g. dragnet surveillance
-
endogenic
i spent a lot of money out of pocket researching that already tbh :P
-
endogenic
it's going to have to wait, though, partially due to being slightly resource cautious presently
-
endogenic
even though i found the answer
-
endogenic
chesterfield[m]: i said one already exists
-
endogenic
vtnerd is an excellent engineer
-
endogenic
i dont know how i could improve vtnerd as an engineer lol .. put it to you like that.
-
endogenic
he's like 9 or 10/10
-
endogenic
nikg83[m]: the spec has existed for many years
-
endogenic
it's part of monero meta
-
moneromooo
Lessen his focus on speeding up stuff that doesn't show up in the profile ^_^
-
endogenic
and many servers implement it now
-
UkoeHB
moneromooo: lol
-
moneromooo
(but generally, I agree he's pretty good)
-
MeowingCat
does libwallet.a have things to build and sign transactions???
-
chesterfield[m]
<endogenic> "there are the typical reasons..." <- Centralized light wallet servers are bad for Monero (until we get seraphis limited view keys)
-
endogenic
sure if you dont trust the operator and if the setup is insecure
-
chesterfield[m]
No, they’re bad period.
-
endogenic
proof?
-
chesterfield[m]
Proof that an entity with a desirable product that has thousands of view keys is bad for privacy of the system as a whole?
-
endogenic
yeah i mean what does that have to do with centralized scanners. sounds like a monero flaw to me
-
endogenic
whatever happened to pragmatism
-
endogenic
you guys remember that?
-
endogenic
whatever that was
-
endogenic
anyway, guess who funded vtnerd/monero-lws initially?
-
moneromooo
libwallet.a does have stuff to build and sign transactions.
-
chesterfield[m]
I don’t have a problem with lws, but I do have a problem with trusted entities holding thousands of view keys
-
endogenic
you have a problem with untrusted entities
-
endogenic
people will choose to use a centralized server like choosing venmo or paypal
-
chesterfield[m]
If you’re not allowing people to selfhost your lws solution, you’re undermining system privacy
-
endogenic
if it compromises others' privacy then you need to realize you're saying people shouldnt hack your vulnerable system
-
endogenic
monero has many such attack surfaces
-
nikg83[m]
endogenic: hence the need for decentralised lws, you might feel users need another mymonero but it won’t be that well accepted
-
endogenic
related to ring sigs
-
plowsof
RINO has entered the chat
-
endogenic
nikg83[m]: there already exists decentralized scanners , what is not getting through to you about that
-
endogenic
my infra is for private customers
-
endogenic
and yes it can do multisig
-
UkoeHB
guys, drifting off-topic for this channel
-
endogenic
indeed
-
endogenic
thanks