Commit Graph

6 Commits

Author SHA1 Message Date
tomFlowee bdd64679b6 Make a tx show the creation time instead of mined
This stores the time of a transaction in the store of the wallet, and
indeed sets it when it is added to the wallet first time.
For instance when we create it or when the tx is first sent to us at
initial broadcast.

We add some logic to the model in order to put a bit more effort into
finding times of a transaction that did not get mined and (before this
code) did not get its time of creation set. Mostly this is about
rejected transactions. And there we guestimate the time instead.
2024-01-15 18:24:40 +01:00
tomFlowee 04bd9f51b7 Fix off-by-one in the assert. 2023-10-17 18:06:11 +02:00
tomFlowee 37a4e38e5d Handle token UTXOs specially.
Mostly they can not be spent as money, which is basically
what this code does.
2023-06-05 09:58:54 +02:00
tomFlowee bd8ded906b Move away from std::rand()
Make sure everyone uses the randomness from openssl (via Flowee
libraries).
2023-04-18 21:09:45 +02:00
tomFlowee 9f201a2627 Start using logging categories.
Instead of dumping everything in zero, use actually distinct categories
which allows logViewer to use them better.
2023-04-04 16:24:28 +02:00
tomFlowee 163e615613 Move sources into the src subdir
Slowly the amount of cpp sources has been growing to the point
where its just too much to store in the root of the project.
I think they are more happy in a subdir as well, getting an elevated
position for themselves.
2022-12-13 11:54:03 +01:00