-
gingeropolous
hey happy 6 yrs all. sorry i wasn't able to participant in any digital shenanigans.
-
gingeropolous
digigans. diginanigans
-
guzzi
hey hyc, thanks. good to be back on irc.
-
duso
why?
-
duso
Soz guzzi, just woke up on the wrong side today and can't figure out why my lan keeps sporatically disconnecting
-
camthegeek
wb guzzi
-
guzzi
thanks camthegeek
-
sgp_
-
torrit_admin
Hey guys, quick question. I'm writing an application and I am running monero daemon / rpc on my host machine but my code is on a virtualbox VM. So how do I connect to the wallet RPC from my code $walletRPC = new walletRPC('host, '28083'); do I just use the IP of my computer?
-
moneromooo
Your VMM probably exposes the VM's NIC on a local IP, like 192.168.x.y, or 10.x.y.z.
-
moneromooo
Try ifconfig -a
-
yanmaani
!torrent
-
qoopbot
yanmaani: magnet:?xt=urn:btih:2fa0ac731b9e483c2534a9fcf1e3312f39dd7a76&dn=monero-all-v0.15.0.1&tr=http0x0p+00.0000000.000000tracker.opentrackr.org0x0p+013370.000000announce
-
synaps3
what is that torrent yanmaani ?
-
synaps3
blockchaint ?
-
synaps3
source code ?
-
d4ndo[m]
monero-all-v0.15.0.1 binaries.
-
d4ndo[m]
!verify
-
qoopbot
d4ndo[m]: gpg --verify hashes.txt && head -n-13 hashes.txt | tail -n+9 | sed -e '/^$/d' -e 's/^\(.*\),\(.*$\)/\2 \1/g' | sha256sum -c -
-
OsrsNeedsF2P
What's the name of the Monero website channel?
-
d4ndo[m]
I don't think there is a seperate irc channel for the monero website.
-
d4ndo[m]
-
OsrsNeedsF2P
Which channel would be best to ask a question about website dev? I've run into a problem locally
-
netrik182[m]
OsrsNeedsF2P: #monero-site
-
OsrsNeedsF2P
Thanks :)
-
d4ndo[m]
Ahh ok
-
netrik182[m]
-
torrit_admin
Is it possible to run the monero daemon and rpc process on my local machine and then connect to it in my application code from a virtualbox vm ?
-
asymptotically
torrit_admin: yes, it just depends how you set up the networking in your virtualbox vm
-
asymptotically
and you need to make sure that the monero daemon and wallet rpc are listening on the right interface on your host machine too
-
torrit_admin
asymptotically Thanks, I have the network type on my vm set to bridged adapter. When I start up the daemon and rpc process do i need to specify rpc-bind-ip ?
-
asymptotically
yes. you could try putting in your LAN ip address or just 0.0.0.0
-
torrit_admin
would my LAN address be en0 when I type in ifconfig on my host machine
-
Mochi101
OsrsNeedsF2P, I tried to donate all my Monero (on the Reddit Monero Tips Bot) to the CCS so I used the 100% command and the bot tells me I don't have enough money.
-
asymptotically
torrit_admin: sounds right to me :)
-
OsrsNeedsF2P
Mochi101 Interesting - did you make any tips/withdrawals prior to doing that command? It's possible you had return change coming back. Sounds like an issue with how the bot determines your balance though, I'll have to look into it O_O
-
Mochi101
No, I've never made any txs for a long time.
-
OsrsNeedsF2P
Very interesting - when did this happen?
-
Mochi101
Probably not taking into consideration the fee
-
Mochi101
like... 45mins-1 hour ago
-
Mochi101
With 100% probably best to do a sweep_all
-
Mochi101
no calc necessary
-
torrit_admin
asymptotically Thanks! do you mind if I show you the commands I'm using? I can't seem to start the rpc process. It says no conneciton to daemon. Here is my daemon command "./monerod --testnet --rpc-bind-ip 192.168.1.107 --confirm-external-bind" and here is the rpc command "./monero-wallet-rpc --testnet --rpc-bind-port 28081 --rpc-bind-ip
-
torrit_admin
192.168.1.107 --wallet-file torrit --prompt-for-password"
-
OsrsNeedsF2P
Actually it does do sweep_all. HM. When did you receive the Monero you have in your wallet?
-
Mochi101
months and months ago
-
torrit_admin
asymptotically thanks for all your help already, just figured I'd show you what I was doing
-
asymptotically
torrit_admin: they are both running on your host/the same machine?
-
torrit_admin
Yes
-
asymptotically
you can try `--daemon-host 192.168.1.107` at the end of your wallet rpc command. since it defaults to localhost, but your daemon isnt listening there anymore
-
Mochi101
28081 for port?
-
OsrsNeedsF2P
Mochi101 thx for the report. Gonna try and figure it out :)
-
d4ndo[m]
torrit_admin: If you have ssh working you could start ./monerod --testnet and then on the client side start ssh -nNT -L 28081:192.168.1.107:28081 userl⊙111 . then just run ./monero-wallet-rpc --testnet
-
d4ndo[m]
Sorry i messed it up is is "ssh -nNT -L 28081:127.0.0.1:28081 userl⊙111"
-
d4ndo[m]
A port forward of port 28081 from localhost to 192.168.1.107 piped through ssh.
-
d4ndo[m]
You dont want 28081 to be an open port on the internet. ssh is hardend.
-
d4ndo[m]
but this is a local lan so it does not realy matter.
-
torrit_admin
d4ndo[m] hmm true. I'm going to try that now
-
d4ndo[m]
torrit_admin: Let me know if it worked.
-
newyearday
sorry for my ignorance but was this line exactly do
-
newyearday
const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]);
-
moneromooo
It gets you the number of elements in mainnet_hard_forks.
-
newyearday
for my example(i need only v12) must be 1 ?
-
newyearday
i have only v12
-
moneromooo
If you start at v12, it'll probably be just one element, yes.
-
newyearday
this DEFAULT_ORIGINAL_VERSION_TILL_HEIGHT for v12 must be some block number?
-
moneromooo
I don't think it's actually used, it's just a default.
-
moneromooo
But never defaulted to in practice.
-
newyearday
yep i test it even this but nothing changed
-
newyearday
i have change and test all major_version on basic.h original_version on hardfork.h 0c on begining of genesis but still nothing!
-
newyearday
allways has old version: 12 current: 12
-
newyearday
-
newyearday
with catch throw gdb stops and exit!
-
newyearday
!m_hardfork->check(bl) why is not
-
newyearday
why in my case is !
-
moneromooo
I just looked at the code, and there seems to be two checks (in do_check_for_height) that could fail. Did you log the values ?
-
newyearday
νο
-
newyearday
no
-
newyearday
how to log? on gdb?