Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Display transaction history of internal wallet #200

Closed
chris-belcher opened this issue Aug 23, 2015 · 5 comments
Closed

Display transaction history of internal wallet #200

chris-belcher opened this issue Aug 23, 2015 · 5 comments

Comments

@chris-belcher
Copy link
Collaborator

Need a script which obtains all the transactions on every address in the wallet, understands them and prints out a list akin to the History tab in Electrum.

It should understand mixing depths and joinmarkets fee so be able to say things like "coinjoin tx to internal mixing depth of 3" and "earned 50000 satoshi"

The Wallet class from common.py does not store the history, which is not needed for the operation of JoinMarket. So this script will have to call the listtransactions RPC call on its own and parse the result.

@chris-belcher
Copy link
Collaborator Author

If querying the RPC, it will require txindex=1

If querying an online blockchain explorer it will reveal which addresses are yours to the server

@inaltoasinistra
Copy link
Contributor

I'm working on this. I'll make only the Blockr version.

it should understand mixing depths and joinmarkets fee

It does not understand mixing depths nor cj fees now. It can list deposits/withdrawals or/and cj txs. It prints for every tx the local addresses and the moved bitcoins.

I'll make a PR.

@chris-belcher
Copy link
Collaborator Author

Would you consider making it work for Bitcoin Core with txindex=1 before releasing?
Having this work only with blockr.io would probably result in a situation that coinbase.com could unmix almost everyone's coinjoins, because all the yield generators will be querying their service whenever they want to see how much money they made.

@inaltoasinistra
Copy link
Contributor

I understood, I try if I'll have enough time.
I could use testnet network, do you have a testnet JM wallet with an history of txs?

@chris-belcher
Copy link
Collaborator Author

I've got testnet wallets you can use, PM me on reddit /u/belcher_ or bitcointalk user belcher and I'll tell you the brainwallet passphrase.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants