Open theanmolsharma opened 5 months ago
saveSpendTransaction(txId:string,label:string)
getSpendTransactions():Record<string,string>[]
We can get transaction details if needed from txId from the network?
Hey @emjshrx,
Could you provide me with some ideas on how to begin with this issue? Should these functions be created in the WalletDB
(Level DB)? I'm a little confused about the part regarding saving the transactions where we spend from our wallet
. Aren't all transactions spent from our wallet? Or is this something specific to BIP 352, meaning I have to read it completely?
Just tell me something, so that I can start in the right direction.
This issue hasnt been discussed to its fullest and actually might not be needed for our PoC. Lets discuss in this weeks call. cc @theanmolsharma
Any update regarding this ?
In the current implementation, we don't save the transactions where we spend from our wallet. We should probably start doing that by making a function that allows users to list/track such transactions.
Implementation details are still not clear in my head right now but we can use this issue to discuss them.