I need help creating new RPC call list that can give me the following information or if you know how to change/add a few lines that will provide the following results. (explicitly)
1) count of all incoming wallet tx - then all incoing wallet tx by account
2) count of all outgoing wallet tx - then all outgoing tx by account
3) count of transactions to a specific address
5) total value of all incoming wallet tx
6) total of all outgoing wallet tx
7) count of mined blocks by this specific wallet
10) date of each accounts first tx
**note i know of the existing call list and listtransactions, however it does not explicitly give these results.
As you note, these are indirectly accomplished via listtransactions already. It's not going to be faster to generate them directly as it will take the same process as a listtransaction to handle them internally.
Since you need help to do so, perhaps adding RPCs aren't the best way to handle your needs.
Keep in mind that errors made while programming here may cause funds loss. The threshold for where you need to add something new should be accordingly somewhat high.
4) count of transactions from a specific address
Bitcoin transactions do not have from addresses.
https://iwilcox.me.uk/2014/no-from-address8 ) total transactions in the entire blockchain
This data is in chainActive.Tip()->nChainTx
I have re-introduced IRC in my version of the wallet and wish to use it to automatically send payment requests (URIs), if anyone can help with that too
IRC is a pretty crappy way to have a centralized server handle things... it's crappy because the server has few tools for DOS mitigation, because messages are very limited in size, and because it's frequently blocked.
If you're willing to trust a server to mediate communications, there are better options. Though, I won't if you really are willing... what happens when that IRC server replaces addresses in payment URIs?
Assistance is most appreciated.
You haven't actually asked a question. By assistance do you mean "I'd like someone to do the work for me, for free, and I'm not even going to tell you why"? Thats what it sounds like, absent an actual specific question. If that isn't the impression you want to give you should try making it clear that you've attempted this stuff yourself already and ask specific questions.
great, thanks you are right, i wasn't as articulate as i should have been. I asked for help to add the as RPCs since i thought that was the most efficient way but if another way exists i would be thankful if you point me in the right direction.
lol, i know...i need to figure out a way to monitor the relationship between every other "address" in the chain and 3 very specific "addresses"
nChainTx">This data is in chainActive.Tip()->nChainTxOne down!!!! this puts some of the stuff miles ahead, thanks!
IRC is a pretty crappy way to have a centralized server handle things... it's crappy because the server has few tools for DOS mitigation, because messages are very limited in size, and because it's frequently blocked.
If you're willing to trust a server to mediate communications, there are better options. Though, I won't if you really are willing... what happens when that IRC server replaces addresses in payment URIs?
I am limited in means and technical know-how, i have the idea and can only think of crude implementations to get the result i want, and as you have pointed out, it's a leaking sieve. if you know of a more secure way for clients to pass URIs automatically to a set 3 addresses, then please share. I learn as i go along and refine my ideas on the fly, i'm actually putting most of what you say onto a note so i think along those lines.
By assistance do you mean "I'd like someone to do the work for me, for free, and I'm not even going to tell you why"? Thats what it sounds like, absent an actual specific question. If that isn't the impression you want to give you should try making it clear that you've attempted this stuff yourself already and ask specific questions.
Yes i'd like someone to help me, free if they are willing. As for why i don't just come right out and say it, any person who gives assistance is likely to already know what i am attempting to do, if not i will tell them, and if they are crazy enough, they may just decide to stick around and see how far I can go. And you already know what i am doing so you don't count.