-
Guest9254
is this somehow based off of ethirium ?
-
selsta
no, also please ask generic questions in #monero
-
Guest9254
ok thanks
-
woodser[m]
running the tests with `make debug-test` for #8518, I see test failures #6: check_missing_rpc_methods and #7: unit_tests
-
woodser[m]
however, there is no debug/tests/check_missing_rpc_methods folder to run those tests specifically
-
woodser[m]
and for some reason running unit_tests with `ctest --output-on-failure` is hanging
-
woodser[m]
how can I run the check_missing_rpc_methods test?
-
moneromooo
Looks like: python tests/functional_tests/check_missing_rpc_methods .
-
moneromooo
and build/wherever/tests/unit_tests/unit_tests
-
moneromooo
You should see the output in LastTest.log as well.
-
woodser[m]
ok, thanks
-
woodser[m]
hm for some reason the tests/functional_tests/check_missing_rpc_methods folder wasn't generated
-
moneromooo
Do you mean "the tests/functional_tests/check_missing_rpc_methods.py file does not exist" ?
-
moneromooo
It's a python script. It's in git.
-
woodser[m]
ah I see. thought it was in ./build
-
WillMorrison[m]
is there a flag for monerod to change the size of the blockchain? For example, only keeping the last 500 mb of blockchain data.
-
moneromooo
--prune-blockchain (only needed once, it'll stay pruned afterwards).
-
WillMorrison[m]
<moneromooo> "--prune-blockchain (only..." <- That prunes it but there's a minimum size there. Can I not lower it? For what I'm working on my node doesn't require any transaction history.
-
moneromooo
In theory you can but you'd lose the ability to be useful to other peers, so bad idea.
-
moneromooo
And diminishing returns, you would not gain that much on tpo of what pruning gains.
-
WillMorrison[m]
Alright, thank you
-
hyc
you could certainly develop a "caching" node that only retains info for e.g. the last month's worth of blocks
-
hyc
other nodes could still sync from it if they're within the window of time that it covers
-
hyc
wallets couldn't really use it tho
-
moneromooo
You'd get a seventh of what's currently gained. Which is what... 70 GB ?
-
moneromooo
An extra 14 GB maybe.
-
moneromooo
In return for being a useless node,
-
moneromooo
Or close to useless. Currently a week's worth if kept at the tip btw.
-
w[m]
<moneromooo> "--prune-blockchain (only..." <- With a config file... (full message at
libera.ems.host/_matrix/media/r0/do…ad70456c76ebdefc0c52d63e4c607bc8bef)
-
w[m]
-
Palladionhehim[m
Got a problem, my public node has restricted rpc access as it's a public node
-
Palladionhehim[m
However, I need to be able to make rpc requests for things like node status and tx details for a chain explorer running on my node
-
Palladionhehim[m
What's the safest way to allow these requests? Note: the node tunnels through tor
-
Palladionhehim[m
* through tor and uses access it through tor rather than my public IP
-
merope
restricted rpc on the exposed network interface/port, unrestricted rpc bound only to LAN/localhost
-
merope
you can run both options at the same time
-
merope
or if you're tunneling stuff via tor, you only tunnel the restricted port, and you ensure the unrestricted port is only accessible to you locally
-
Palladionhehim[m
So bind to two ports, one private and one public and restrict the public?
-
merope
yes
-
Palladionhehim[m
Alright I didn't think of that haha
-
Palladionhehim[m
Thx
-
merope
-
merope
you use `--rpc-restricted-bind-ip` and `--rpc-restricted-bind-port` for the restricted stuff that you expose via tor
-
merope
and the "regular" (unrestricted) `--rpc-bind-ip` and `--rpc-bind-port` for your personal usage
-
merope
(double-check this with others, but I'm 99% sure there are no hidden caveats)
-
Palladionhehim[m
I will, either way worse case scenario I see someone is mining and shut it doen
-
Palladionhehim[m
Or they do it for me XD
-
bbqcore[m]
yo guys some shitheads were smack talking XMR and mentioned the "Knacc attack" that supposedly affects CN coins
-
bbqcore[m]
legit concern?
-
merope
1) old news
-
merope
2) better suited for #monero:monero.social