Commit Graph

15 Commits

Author SHA1 Message Date
tomFlowee 7d675d26e6 fix comparison with different signs. 2025-02-24 21:25:32 +01:00
tomFlowee 8bbea6c0fe Follow upstream wrapping of shared_ptr 2024-11-29 15:40:15 +01:00
tomFlowee a6af4c8771 Remap 'tried' to a more logical backing value.
This changes 'tried' being about the amount of peers we actually
handshaked with to the amount of peers we tried to connect to at all.
2024-02-10 21:56:59 +01:00
tomFlowee 2d55f1b508 Avoid exception.
Simplify the loop by using lock() on the std::shared_ptr, which doesn't
throw.
Also follow the API change in the libs and some deeper introspection for
the actual connection status.
2024-01-28 20:01:56 +01:00
tomFlowee 1455d90b30 Add ban / disconnect UI elements on NetView 2024-01-26 14:26:40 +01:00
tomFlowee 519b6d7532 Add button to pardon the banned.
This allows a user to re-connect to formerly banned peers.
2024-01-26 13:45:51 +01:00
tomFlowee efc4e7c7d4 Make peers show up faster in netView
A peer that has not yet handshaked is now show in this view, giving a
better indication of what is going on on platforms that do not have easy
access to a log file.
2024-01-26 12:12:45 +01:00
tomFlowee 6161a43dac Add a statistics page to the Netview 2024-01-06 23:10:50 +01:00
tomFlowee 0b7587b51b Refactor the NetView (peers dialog)
This is likely the oldest component in the app and it was
really in need of a rewrite.
The state of peers is shown much clearer now, we use a proper
model in order to avoid the jumping and we use a more safe
way of getting at the data.
2024-01-04 23:20:28 +01:00
tomFlowee 0559a3b79d Fix constness cppcheck issue
Avoid using a non-const iterator on a const container.
2023-04-19 13:36:34 +02:00
tomFlowee 34292dbe96 Remove unused parameter. 2023-04-19 13:35:35 +02:00
tomFlowee caa340768f Make 'chainHeight' property on Pay work better
We now show the estimated tip until the headers chain has been synched.

This follows p2pnet listener interfaces changes.
This uses the nicer interfaces setup to make available for FloweePay
the signal that we have reached the tip of the headerChain
2023-01-31 20:36:12 +01:00
tomFlowee 50e2176efd Remove unused property 2023-01-31 16:25:48 +01:00
tomFlowee ca1cd4a998 Avoid possible deadlock. 2023-01-31 14:06:10 +01: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