-
hyc^ all developers ought to have read _The_Unix_Programming_Environment_
-
hycit's as important to know the command line env as it is to know a particular programming language
-
euri10greetings, I'm running into a weird issue: using the wallet rpc in my test suite I can sign a string, then verify it, it's working fine. now as soon as I try to generate the signature with monero-wallet-cli I cannot verify with the rpc (good: false) but i can verify with the cli. the only diff I see is that with the rcp you pass a string and with the cli it's a filename, so the filename contains just the string I
-
euri10want to sign, is there something I'm overlooking ?
-
moneromoooI assume you made really sure the data is the same in both cases ?
-
moneromoooLike very really a lot much ?
-
moneromoooIf it's text, for example, check you don't have an extra newline at the end. Common mistake.
-
euri10will double check that
-
euri10well i'm now sure there's now newline: see this paste paste.debian.net/1269547 where i cat the file, sign it with the cli, verify it with the rpc and it fails and finally verify it with the cli and it works
-
euri10the pass etc are ok to display for me it's a regtest
-
moneromoooThis file seems to have a newline at the end. The data passed to RPC does not. The data must be the same. If it is not, verification is supposed to fail.
-
moneromoooUse xxd to dump your file.
-
» moneromooo afk for a while
-
euri10ok you're right :
-
euri10❯ xxd signme
-
euri1000000000: 5468 6973 2069 7320 7361 6d70 6c65 2064 This is sample d
-
euri1000000010: 6174 6120 746f 2062 6520 7369 676e 6564 ata to be signed
-
euri1000000020: 0a
-
euri10sorry for the noise :)
-
someoneelse49549What's the purpose of txpool_tx_meta_t ? Is everystate of the transaction pool stored in the database?
-
someoneelse49549* of txpool_tx_meta_t (blockchain_db.h) ? Is
-
moneromoooMetadata for the tx, like weight, last relay time, txid, etc. Basically all besides its data, which is variable size and potentially large.
-
moneromoooAnd yes.
-
spectrehosting[mEnded up finding a cloud engineer but I'm still hiring a full-stack developer for my privacy-focused cloud startup. Baseline pay is $65/hr but could be higher depending on your level of experience. Get in contact if you or anyone you know is interested. Happy to pay you in Monero.