Commit Graph

13024 Commits

Author SHA1 Message Date
tomFlowee a47dbad5c5 Add reference. 2026-04-15 00:07:09 +02:00
tomFlowee 2d0f94340f fix signed/unsigned comparisons. 2026-04-12 13:52:45 +02:00
tomFlowee d8b0af0f8e Add way to quickly set up the new log channel. 2026-04-12 00:47:42 +02:00
tomFlowee 12016f316f Cleanup confusing code. 2026-04-12 00:47:09 +02:00
tomFlowee 38c2e9672e Update comments and log messages. 2026-04-11 23:39:20 +02:00
tomFlowee d806b09729 Needs a max too. 2026-04-11 19:00:23 +02:00
tomFlowee 9103051683 Minor logging updates. 2026-04-11 14:38:33 +02:00
tomFlowee 8c28e349b9 Tweak in the numbers. 2026-04-11 14:38:11 +02:00
tomFlowee 363153e9df Support logging line numbers and file/method names. 2026-04-11 00:26:48 +02:00
tomFlowee ef96b62937 Add calling thread ID to the log output. 2026-04-10 23:53:01 +02:00
tomFlowee df4e1de6fd Add new log channel FastLogChannel
This log channel copies the log line and instantly returns to allow the
main codebase to not have an impact on logging speed.

Normal usage this isn't really relevant, but for cases where we want a
massive amount of logging for performance tuning the logging ends up
being a bottle-neck. Well, not logging but the output channel ends up
being a IO based bottleneck.
This log channel moves the IO based work to its own thread in order
to ensure that the main code works at full speed.
2026-04-10 23:30:57 +02:00
tomFlowee f44007d86d Add bool on engine: do SPV level validation only
This helps unit tests.
2026-04-09 23:15:08 +02:00
tomFlowee 29069b5aa3 Fix error in tests. 2026-04-09 20:01:58 +02:00
tomFlowee 465aa8630d Move away from deprecated deadline_timer. 2026-04-09 19:25:27 +02:00
tomFlowee fdd9274156 Add bytesToHex helper method 2026-03-04 17:58:05 +01:00
tomFlowee 23e2441f66 Move to new release version 2026.02.0 2026-02-13 20:56:16 +01:00
tomFlowee efa6c05e1a A API review of CashAddr.h
This removes from the header all private methods, adds API docs and does
some renames that make code using this API much more readable.
2026-02-09 15:28:04 +01:00
tomFlowee 25eb649ac8 Start finding peers more agressively after time
Try to be closer to what the SPV action does, after calmly starting we
agressively get more new peers every cycle to compensate for the problem
that our addresses database may have lots of outdated data.
2026-02-05 13:35:42 +01:00
tomFlowee 1b7726ef8e Notice that the http client requires a newer boost 2026-01-14 20:08:31 +01:00
tomFlowee c223df12b7 Remove dead code. 2026.01.0 2026-01-14 18:25:44 +01:00
tomFlowee f2b59b7737 Make logging code compile with more defines
This allows compile with BCH_NO_INFO_OUTPUT define, which removes
from the compiled binary all info level logging.
2026-01-14 18:23:19 +01:00
tomFlowee 811c25b16c Add cmake option full_logs to include all logs
The default behavior is unchanged, we remove some logging on things
like release builds, they simply don't get compiled in.

This feature is for people wanting to make a build with the libraries
including all levels of logging, while not compromising on something
like using a release build.
2026-01-14 11:56:37 +01:00
tomFlowee fc2e2cc395 Minor cleanups 2026-01-13 21:15:00 +01:00
tomFlowee 0675f272c1 Fix sometimes reconnect not working 2026-01-08 12:05:51 +01:00
tomFlowee ac817d0f5d new year, new prices 2026-01-07 20:59:43 +01:00
tomFlowee f2ac8c4988 more helpful logging 2026-01-07 20:53:58 +01:00
tomFlowee 1662f51193 Add more features to the http client
We parse a date/time for headers now with a specific
method that returns a QDateTime
We added a partial (incremental) download feature to avoid the need to
wait until completed. This also allows us to lower mem usage by spooling
to disk as data comes in.
2025-11-17 11:56:14 +01:00
tomFlowee b226daf23e Fix test
We decided to avoid the stupid issue of looping infinitely on error by
forwarding past the end of the string on said error.
This now is reflected in the unit test too.
2025-11-17 11:54:16 +01:00
tomFlowee 4aa2718658 Prepare for new release 2025-11-13 23:47:33 +01:00
tomFlowee ab34541a7c Skip link local networks.
As this is basically used to bind to, link local doesn't make much sense
to return.
2025-11-08 19:59:11 +01:00
tomFlowee 36b609189e Add API docs. 2025-11-05 19:24:24 +01:00
tomFlowee 23fd430264 Make SimpleHttpClient also support HEAD 2025-11-05 19:19:43 +01:00
tomFlowee 0a3ff8dfe0 Add SimpleHttpClient class
To be able to move away from the monstrosity called QtNetwork
this introduces a tiny class based on boost (headers only lib) beast.
2025-11-05 14:19:58 +01:00
tomFlowee a9d3db7cf4 Avoid confusion, call the server a store.
The server allows a wallet to store or restore wallet data, but it
requires the application to have access to the identity address of
the wallet.

So it should be made clear that we do NOT expect anyone to store
a wallet seed in here, as that would create a circular dependency.
Can't get the wallet-identity without the seed and thus without
the seed you can't find nor decrypt the actual file.
2025-11-04 17:40:02 +01:00
tomFlowee 30ac1d9cc9 Fixlets in comments 2025.11.0 2025-11-02 17:17:04 +01:00
tomFlowee 4d4dcc6b1a New month 2025-11-02 17:17:04 +01:00
tomFlowee d51470a00f Add prefix config for proxy setup.
Allowing the operator to put it behind a nginx proxy.
2025-11-01 20:45:26 +01:00
tomFlowee ca7eb8f9ec Generate a JSON of the keys' history. 2025-11-01 20:21:35 +01:00
tomFlowee 85039ebc0e fixlets 2025-11-01 18:56:34 +01:00
tomFlowee a30e80ef7f not sure why, but I'm getting smaller ones 2025-11-01 00:01:23 +01:00
tomFlowee 60e5e15542 Add more features to Mnemonic class
Also include unit tests
2025-10-28 14:52:54 +01:00
tomFlowee c79188242e Add new method to Streaming namespace
Streaming::readCompactSize()

As the reverse was already there, it makes sense to be consisten.
This includes a unit test.
2025-10-28 12:45:26 +01:00
tomFlowee 12dea93144 API docs language improvement. 2025-10-26 16:16:07 +01:00
tomFlowee 18f0405c30 Fix compile, add include. 2025-10-26 16:12:58 +01:00
tomFlowee b0ab4798bf Fix install of systemd service 2025-10-21 19:28:16 +02:00
tomFlowee b9b92f74be Correct CMake call for boost
Boost now no longer wants header only sections to be added here,
presumably because we won't link to any library.

This fixes compilation against Boost 1.89
2025-10-21 19:28:16 +02:00
tomFlowee 11d24589c3 Make compile
Add missing include so it also compiled against Qt 6.10
2025-10-21 19:28:16 +02:00
tomFlowee ab4a04f176 Replace deprecated deadline_timer
Move to system timer for real world waits for most of them,
since sleeping or being suspended is local and this is networking.
2025-10-21 19:28:16 +02:00
tomFlowee 4c52d55169 Lower debug level of this log line. 2025-10-21 19:28:16 +02:00
tomFlowee 3474f353d5 Started a readme and config files. 2025-10-21 19:28:16 +02:00