-
scoobybejesus
Anyone running monerod on freebsd, particularly in non-interactive mode? i created an rc.d script to run in non-interactive mode. i can `service monerod start`, then `service monerod status` which tells me the pid, but doing a plain `monerod status` it tells me Error: couldn't connect to daemon. Can I do `service monerod echo status` or some such thing? Perhaps via custom cmd in the rc.d script?
-
gingeropolous
scoobybejesus, do you have your ports bound to something different?
-
gingeropolous
if your RPC ports are modded, you need to run monerod --rpc-bind-blah these.things.go.here status
-
gingeropolous
i mean, maybe.
-
gingeropolous
i dont run freebsd, but that sounds like an error ive had
-
scoobybejesus
Thanks gingeropolous. I'll experiment in the morning. I suspect it may have to do with non-interactive mode but I hope I'm wrong about that
-
fluffypony
scoobybejesus: maybe echo monerod's stdout to a file?
-
fluffypony
stdout and stderr
-
scoobybejesus
I've got access to stdout in a log file. If like to poll it for it's status or adjust in-peers or ban an IP or whatever, which may mean it needs a temp connection to stdin, which I wonder about vis a vis non-interactive mode
-
scoobybejesus
s/If/I'd
-
scoobybejesus
Ugh, I type terribly on mobile
-
lil_monero_dude
is this the right place to ask Wallet RPC questions?
-
scoobybejesus
It's not a bad place to do so
-
lil_monero_dude
ok here goes: using the Wallet RPC, I can get a list of incoming transfers with the 'incoming_transfers' or 'get_transfers' methods. the documentation ways that this will get the transfers for a specific account by passing the major account index (or account 0 if not specified). is there a way that I can get the transfers for ALL accounts in the
-
lil_monero_dude
wallet with a single call?
-
scoobybejesus
I wanna say I saw that on the Monero stack exchange
-
Mochi101
so say it
-
lil_monero_dude
the only reference I could find suggested I use 'incoming_transfers' or 'get_transfers' but that only applies to a single account, defaulting to 0 if not supplied as an argument. if i have dozens of accounts, do i really need to poll each one?
-
scoobybejesus
Damn. Someone does know how to do it. I remember the question being asked. I forget the answer...
-
Mochi101
-
Mochi101
get_payments
-
Mochi101
get_payments all_accounts
-
Mochi101
-
colemickens_
When Cake wallet connects to a "node", is that just the Monero daemon running, or is it some other piece of software?
-
colemickens_
I'm trying to learn more about what it means to be a light wallet and what the "light wallet protocol" looks like if that's even a thing.
-
endogenic
a lightwallet is mymonero
-
endogenic
cake is a full wallet
-
endogenic
it's the same as wallet2
-
endogenic
mymonero-core-cpp is the client side lib to implement wallets etc
-
endogenic
but we open sourced our server
-
endogenic
which scans w viewkeys for you and caches
-
endogenic
notice the ux difference there
-
endogenic
among other savings
-
endogenic
we revamped the lightwallet api that got standardized on monero-meta into a realtime api that solves old problems
-
endogenic
things got real futuristic lately :)
-
endogenic
that had never existed for monero before
-
colemickens_
I'm sorry, I didn't quite get all of that.
-
colemickens_
Cake Wallet, being a full wallet, the list of nodes then are full regular daemon nodes?
-
colemickens_
Or what is the list of nodes that Cake lets me pick from?
-
lil_monero_dude
thanks for the github links. apologies for my lack of git and c++ knowledge but does PR #5154, being commited, mean that it made its way into the codebase? if so, how do i invoke get_transfers with all_accounts as a parameter?
-
lil_monero_dude
i'm using the monerophp library from the monero integrations team, if that helps
-
colemickens_
I'm learning a bit more, it looks like the daemon can be run in --restricted-rpc mode which limits certain actions.
-
colemickens_
And then on top of that, mymonero has their own thing that caches viewkeys and can be lighter.
-
colemickens_
I'm still curious, if I set CakeWallet to restore from a year ago, it's going to download a year worth of the full chain?
-
colemickens_
It seem like, yes.
-
Mochi101
lil_monero_dude, I think you just put all_accounts in the parameters section of your request
-
nonie
make
-
nonie
sorry
-
frantz_fro
Hi! I launched monero-blockchain-prune on a hard drive and it runs but after 8 hours I'm wondering when it will finish. It displays "creating pruned tx_prunable". Any hint?
-
frantz_fro
The hard drive works 100% of the time.
-
Mochi101
frantz_fro, it could take awhile
-
Mochi101
but you can always kill it and start again
-
frantz_fro
Mochi101: thank you! If I kill it the, later, restart it, will it pick up where it was or completely restart?
-
Mochi101
Hard to say frantz_fro it might be finished but just didn't exit...
-
Mochi101
If you have problems you might just want to delete the chain and start syncing a pruned blockchain from scratch instead.
-
frantz_fro
AS the hard drive is always busy it probably isn't finished. I understand the trick about syncing it instead of deriving it from the already stored chain, thank you!
-
nonie
What is your opinion on this function. I'm a pretty bad at programing. Just getting familiar with cJSON:
pastebin.com/BGij6pAZ
-
nonie
The function wraps the »method« in a JSON frame and sends the rpc packet. The return value is a pointer to a allocated cJSON object.
-
nonie
So you can »#define BC_HEIGHT "get_height"« and just use that on the function rpc_call(BC_HEIGHT, ..); to get the data.
-
nonie
-
coppa
web.getmonero.org/community/merchants Kava society doesnt seem to accept crypto as payment
-
nonie
@coppa That's too bad. It is better to buy at shops that only accept crypto currencies and no fiat currency like shopinBit.de or Openbazaar.
-
coppa
uhuh lets practice my german
-
coppa
thanks
-
Mochi101
hasse Deutsch
-
asymptotically
coppa: if you have an account on repo.getmonero.org you can make an issue to complain:
repo.getmonero.org/monero-project/monero-site/issues (or make a PR to remove it)
-
Mochi101
Confirmed, they don't.
-
nonie
also confirmed.
-
asymptotically
maybe you can contact them and they'll manually process an order with XMR? i think a few of the merchants listed are like that
-
asymptotically
but we should only list ones that mention xmr specifically :p
-
Mochi101
yes, like citymapdecor.com
-
nonie