13 Commits

Author SHA1 Message Date
tomFlowee bc47a700a4 Refactor; wrap BufferPool in shared_ptr
As we moved most of the creation of a BufferPool to be via the
Streaming::pool() method, which uses a thread-local, it makes sense
to start cleaning up the design and make it more modern C++.
The above mentioned method would return a reference and you'd see
loads of places use `auto &pool =` which is less than ideal.

As the number of places where we actually instantiate a BufferPool
goes down, the usage of some sort of smart pointer makes more sense.

This now makes all APIs use BufferPool be wrapped in a shared_ptr.
2023-12-21 15:23:23 +01:00
tomFlowee 05bbba3cb3 Rename class CKey -> PrivateKey 2022-07-06 22:12:33 +02:00
tomFlowee c9af7cca4a Rename class CPubKey -> PublicKey 2022-07-06 21:56:34 +02:00
tomFlowee c33d54ed7d Rename class CKeyID -> KeyId 2022-07-06 21:52:47 +02:00
tomFlowee cca8a885bc Fix coding style issues
Follow the coding styleguide and make the methods lowercase on CKey
2022-05-11 13:46:15 +02:00
tomFlowee 7b57024413 Make set() be internally consistent
setting an incorrect value should not keep the old data after we already
update the fValid boolean.
That would give the user the impression that the data was removed while
it really isn't.
2022-05-11 13:20:15 +02:00
tomFlowee ae78dd0bb8 Update email address 2021-06-20 22:44:44 +02:00
TomZ 16743f95bb Move vulcano wallet to app-dir
I'd say that leaving it in the current dir just didn't make much
sense...
2020-10-26 21:53:49 +01:00
TomZ b719a4904c Make txVulcano start a bit slower and report more
Start with a couple of 20MB blocks and while generating
put in the log a line like;
    Block still 7 MB from goal
2019-06-15 19:34:57 +02:00
TomZ 3fcd3536ed Clarify coinbase pos in block.
The first field after the header is the number of transactions. This
is a variable-width field of between 1 and 9 bytes.
Coinbase starts after that.
2019-06-11 17:38:30 +02:00
TomZ 69f1c3c129 Fix various small items in txVulcano. 2019-03-28 20:23:47 +01:00
TomZ 309616a57d Move processing of big blocks into its own thread.
The txVulcano wallet is currently really not fast,
so this code made the first mistake of network programming;
a big task was handled blocking the network handling.
The workerthread eventqueue is now used for this.
2019-03-19 21:47:28 +01:00
TomZ 857315c743 Introduce new app txVulcano
This is a partial app which has as goal to generate transactions
and fill up blocks. A needed tool to test bigger blocks.

Secondairy goal is to test the Hub APIs in actual production
setting.
2019-03-17 22:52:09 +01:00