-
gordonusa[m]
I'll help 10 people to earn $30k within 72 hours but you will pay me 10% of your profit when you receive it. Note only interested people should apply, drop a message let's get started by asking (HOW).
wa.me +1 (501) 444‑2116
-
gingeropolous
oh hot dog!
-
elucidator
hello, i have a small problem with making any transactions. i asked in #monero, i'll copy my messages here hoping it's OK.
-
elucidator
<elucidator> trying to send some xmr using cli wallet + local full monerod (i tried with gui and feather + remote nodes, still same problems)
-
elucidator
using sweep_all => <elucidator> both monerod and cli shows errors. monerod gives "Bad key image!" and wallet says "transaction <XXXXXXXXX> was rejected by daemon Reason: invalid input"
-
elucidator
<elucidator> i'm using the latest v0.18.1.0 version, i synced it with this version, didn't upgrade or use any previous database file etc.
-
elucidator
about the wallet age => <elucidator> it's not so recent, i also confirmed all the data scanning from 0 height 2-3 times.
-
elucidator
<elucidator> i built up the wallet from scratch a couple of times by now. like i said in some instances from the 0 height in spite of waiting time. results is the same.
-
elucidator
<elucidator> trying to transfer arbitrary amounts gives "Error: internal error: Known ring does not include the spent output:"
-
elucidator
<elucidator> i tried remote nodes for couple of times even starting from scratch, creating the wallet from seeds etc.
-
elucidator
sorry for the spammy spam, people who knows me from -pools may know, i get notifications if you ping, i'll try to reply ASAP for any testing.
-
sech1
how many available inputs do you have in this wallet? "balance detail" command in cli
-
sech1
one of your inputs, as you might've guessed, has bad key image and thus cannot be spent
-
sech1
why it happened is another question
-
elucidator
-
sech1
so 14 in total
-
elucidator
yeah
-
sech1
you can try to sweep_single them one by one
-
sech1
run "incoming_transfers available verbose" to get key images (last column)
-
sech1
and use these key images in sweep_single command
-
sech1
but maybe wait for moneromooo first
-
elucidator
incoming_transfers available verbose => i was looking for this in all docs, thanks so much
-
sech1
he might want to run some tests on this wallet
-
elucidator
last column has the numbers without <> surrounding right ?
-
elucidator
well that definitely looks fucked up :D
-
elucidator
all 14 of them
-
sech1
don't paste key images please :D
-
sech1
fucked up how? All 0's?
-
elucidator
kinda ^
-
elucidator
so i'll probably will share for the sake of science :)
-
sech1
key image is 32 hex characters, they should be random
-
elucidator
nope, no random, also ALL of them are the same
-
sech1
huh
-
sech1
then you can spend only one of them
-
sech1
choose the one with largest amount
-
sech1
whoever sent you funds did it on purpose or used broken wallet
-
sech1
if you get two inputs from two transactions with the same key image, you can only spend one of them
-
badjabber
if that's a possible attack shouldn't it be mitigated?
-
sech1
just do sweep_single on key image with largest amount
-
elucidator
yeah but can i select the amount with sweep_single ?
-
sech1
badjabber that's an old attack and it's been mitigated, if it is what I think it is. Wallet should show available balance = the max value of all these inputs, not the sum of their values
-
sech1
you can select key image with sweep_single
-
elucidator
since ALL of the key_images are the same, how do i do that :)
-
sech1
incoming_transfers will show you amounts and images
-
sech1
not sure, try all the different hex strings from the line with the largest amount
-
badjabber
aight sweet :)
-
sech1
maybe it's not the last column but some other column
-
sech1
I haven't used it in a while
-
elucidator
"Wallet should show available balance = the max value of all these inputs" => it kinda does that when i try with gui wallet to send "MAX" i.e. all the balance
-
elucidator
sometimes it shows only the maximum one
-
elucidator
sech1: no you are right about it being the last column
-
elucidator
there are headers, it really is the last column
-
sech1
Output format: Amount, Spent(\"T\"|\"F\"), \"frozen\"|\"locked\"|\"unlocked\", RingCT, Global Index, Transaction Hash, Address Index, [Public Key, Key Image]
-
sech1
so key image is the last column
-
elucidator
the other hex values are tx id and pubkey which are not the same except two tx ids
-
sech1
then you can't even do sweep_single
-
elucidator
yeah
-
sech1
you need to wait for moneromooo
-
elucidator
i'll reply when someone can add some extra feedback, thanks for the ideas again. you mentioned/pinged him, he'll probably notice this bunch of messages.
-
moneromooo
If I got that right, all the key images are identity ?
-
moneromooo
That sounds like a bug somehow. AFAIK the sender isn't able to predict what the receiver's key images will be.
-
moneromooo
Did all these outputs come from hte same sender as far as you know ?
-
elucidator
moneromooo: i don't know unfortunately
-
elucidator
are they somehow missigned ?
-
Guest26
Hello everyone, Im having some problems with integrating rpc to my application, anyone willing to help out?
-
elucidator
moneromooo: also all of the key images being some kind of identity is correct, they are all the same and LOTS of zeros all over
-
elucidator
Guest26: like it says in the channel info " Don’t ask to ask, just ask:) " :)
-
Guest26
Im trying to connect to rpc to send or verify transaction
-
Guest26
I have monero node synced up on a separate server but in the same network as the webserver, in laravel environment file I have pointed to monero rpc port
-
Guest26
this is my rpc section of config file
-
Guest26
rpc-bind-ip=0.0.0.0
-
Guest26
rpc-bind-port=18081
-
Guest26
confirm-external-bind=1
-
Guest26
rpc-restricted-bind-ip=0.0.0.0
-
Guest26
rpc-restricted-bind-port=18089
-
Guest26
rpc-login=user:test
-
Guest26
but when I try to send a transaction with the application I get this response
-
Guest26
local.ERROR: Request have return error: Method not found;
-
Guest26
Request: {"jsonrpc":"2.0","method":"make_integrated_address","params":{"payment_id":null},"id":1};
-
Guest26
and this is when I curl the server
-
Guest26
curl -u user:test --digest
localip:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_balance","params":{"account_index":0,"address_indices":[0,1]}}' -H 'Content-Type: application/json'
-
Guest26
{
-
Guest26
"error": {
-
Guest26
"code": -32601,
-
Guest26
"message": "Method not found"
-
Guest26
},
-
Guest26
"id": "0",
-
Guest26
"jsonrpc": "2.0"
-
Guest26
}
-
Guest26
Any other info I need to provide?
-
moneromooo
Make sure you connect to the wallet, and not another process.
-
moneromooo
18081 is typically a daemon port.
-
moneromooo
Node.
-
Guest26
deamon is on 18089
-
Guest26
tcp 0 0 0.0.0.0:18080 0.0.0.0:* LISTEN 63465/monerod
-
Guest26
tcp 0 0 0.0.0.0:18081 0.0.0.0:* LISTEN 63465/monerod
-
Guest26
tcp 0 0 0.0.0.0:18089 0.0.0.0:* LISTEN 63465/monerod
-
moneromooo
elucidator: did you look at the wallet log on log level 2 when receiving these outputs ? Might be a clue.
-
elucidator
shall i rescan the wallet with verbosity up ?
-
Guest26
should I check monero-wallet-rpc log or monerod log?
-
moneromooo
Also, unlikely to be that, but... try rebuilding wallet2 with cmake -D MONERO_WALLET_CRYPTO_LIBRARY=cn
-
moneromooo
elucidator: yes, --log-level 2
-
moneromooo
Guest26: 18081 is clearly the node in your paste.
-
moneromooo
Unless you renamed the wallet for funsies.
-
elucidator
moneromooo: i think i see where you are getting, kinda.. i'll compile it when i have the chance.. i'll be out of town for some days, i'll definitely let you know when i return at most
-
moneromooo
x86_64 btw ?
-
Guest26
yes 18081 is the node and this is the out put of the following command
-
Guest26
monero-wallet-rpc --daemon-address 10.10.1.105:18081 --rpc-bind-port 18081 --wallet-file test wallet password=reducted --rpc-login user:test --log-file logs/monero-wallet-rpc.log --max-log-files 2 --trusted-daemon
-
Guest26
E !r. THROW EXCEPTION: tools::error::no_connection_to_daemon
-
Guest26
E Initial refresh failed: no connection to daemon
-
Guest26
E Failed to query mining status: No connection to daemon
-
elucidator
i ran the cli wallet on armv8 but i also tried the gui wallet and feather on several platforms, including osx and windows
-
sech1
Guest26 why do you try to bind monero-wallet-rpc to 18081, it's already taken by monerod
-
sech1
fix your command line for monero-wallet-rpc
-
moneromooo
MONERO_WALLET_CRYPTO_LIBRARY only matters on x86_64 AFAIK, so if you had that issue on armv8 among others, then it's not the reason.
-
Guest26
because when I delete bind port from command I get this output "Failed to parse arguments: the option '--rpc-bind-port' is required but missing"
-
Guest26
And also node is on a separate servers and im trying to connect rpc from my webserver to node server to send transaction and stuff
-
sech1
elucidator hmm, maybe you can share the view key if you don't care much about that wallet transactions? This way mooo can reproduce it faster
-
sech1
Guest26 bind to another port number
-
sech1
moneromooo or the view key will not be enough to see key images?
-
Guest26
Actually I need to create addresses and view balances as well
-
Guest26
changed the bind port nothing happened same error
-
Guest26
E !r. THROW EXCEPTION: tools::error::no_connection_to_daemon
-
Guest26
and before anyone asks firewalls are disabled
-
sech1
maybe your daemon is not listening on external IP
-
sech1
or the actual IP you should use is different
-
moneromooo
The spend key is needed to calc key images.
-
elucidator
sech1: yeah i will share any info necessary, i don't mind
-
moneromooo
Is it a hot/cold wallet setup, or a normal one ?
-
moneromooo
Identity or similar might be used as a placeholder when the key image is not yet known.
-
elucidator
nope a normal wallet
-
elucidator
enter seeds, scan the blockchain, find the tx's etc.
-
moneromooo
Guest26: if you telnet or nc to 10.10.1.105:18081 from that same machine you're running the wallet on, does the connection succeed ?
-
moneromooo
Can you share the txid for one of those txes ?
-
elucidator
sure thing, let me PM you if that's OK
-
moneromooo
Just to see if the tx pubkey looks obviously weird.
-
elucidator
this is not so sensitive for me
-
Guest26
yes I can telnet from the same server and from anyone on the network
-
Guest26
this is the output when I curl
-
Guest26
[10:44:30 PM] <Guest26> curl -u user:test --digest
localip:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_balance","params":{"account_index":0,"address_indices":[0,1]}}' -H 'Content-Type: application/json'
-
Guest26
[10:44:30 PM] <Guest26> {
-
Guest26
"error": {
-
Guest26
"code": -32601,
-
Guest26
"message": "Method not found"
-
Guest26
},
-
Guest26
"id": "0",
-
Guest26
"jsonrpc": "2.0"
-
Guest26
}
-
moneromooo
You are ignoring what you've been told twice.
-
moneromooo
You are asking the node for a wallet RPC. Don't. Ask hte wallet.
-
moneromooo
And bind the wallet to a port that's not already in use.
-
Guest26
care to elaborate? should I change the monerod conf file to another port?
-
moneromooo
No. monerod seems good.
-
moneromooo
just ask the wallet on whatever port it's on.
-
moneromooo
if, if you ran the wallet with --bind-rpc-port 8765, make the get_balance request on 8755.
-
Guest26
moneromooo: isnt already on the same port I mean its 18081 in this case
-
Guest26
I can even browse to ip:18081/json_rpc from lan
-
sech1
18081 is not the wallet
-
sech1
you're browsing your Monero node
-
moneromooo
These are two different servers. They do not respond to the same set of RPC.
-
ofrnxmr[m]
Your monero-wallet-rpc --rpc-bind-port THISNUMBER
-
Guest26
ofrnxmr[m] E !r. THROW EXCEPTION: tools::error::no_connection_to_daemon
-
moneromooo
That one is odd. Your --daemon-address looks ok.
-
moneromooo
But given the above, I assume some kind of non obvious bad user assumption.
-
moneromooo
Try with 18089. Though the restricted port ought to be fine...
-
moneromooo
ie, --daemon-address 10.10.1.105:18089
-
tusko
mooo
-
selsta
elucidator: CHECK_AND_ASSERT_MES(!(sig.I == rct::identity()), false, "Bad key image!");
-
selsta
I saw this on my node a couple days ago that is listed in Feather, so I assume that was your wallet?
-
elucidator
selsta: it may be, not sure
-
EtherPro[m]
So, this morn I downloaded the monero gui. Created an wallet and sent transaction via changelly? Didn't see anything about syncing till afterwards. Either way it cleared on there side. However,I'm now synced and still nada. Any idea if support exist to hurry process with hash? when I set up I chose simple. However, the amount of time it will take to sync locally is unacceptable so I'm using remote node. It's going on 5 hrs.
-
moneromooo
Changelly is related to minergate, scammers. IIRC changelly was doing selecting scamming.
-
moneromooo
Anyway, ask in #monero-community for details.
-
UkoeHB
selsta: any idea why this build would fail? performance_tests should need to link against the mx25519 library, since I fully wrapped it in seraphis_lib (which performance_tests is linking against)
-
UkoeHB
-
selsta
UkoeHB: I built in on macOS and it worked
-
selsta
but no idea why it fails on Ubuntu maybe someone with more C++ experience knows
-
UkoeHB
performance_tests should *not* need to link
-
UkoeHB
ok
-
tevador
UkoeHB: try linking mx25519 as a private library. You are linking it publicly here:
github.com/UkoeHB/monero/blob/serap…lib/src/seraphis/CMakeLists.txt#L96
-
tevador
nvm, looks like when linking a static library, even private linking doesn't remove the need to link to the final executable:
stackoverflow.com/questions/3618162…ternal-library-without-exporting-it