mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-04 02:54:00 +01:00
In this commit we replace addUtxo with processTransaction in the wallet API. addUtxo is kept around, but only as an internal implementation detail. The new flow looks like this: 1) The wallet gets notified about a new TX through a processTransaction call 2) It then searches through our already processed incoming TXs: if found, updates the confirmation status else, inserts it into the DB 3) We then call addUtxo, if the previous step resulted in a new TX in our DB |
||
---|---|---|
.. | ||
main/scala/org/bitcoins | ||
test/scala/org/bitcoins/testkit/db |