Skip to content

Node basic functions implemented, major changes in most core functions#2

Open
dantee-e wants to merge 43 commits intomasterfrom
implementing-node
Open

Node basic functions implemented, major changes in most core functions#2
dantee-e wants to merge 43 commits intomasterfrom
implementing-node

Conversation

@dantee-e
Copy link
Owner

The node has a HTTP server that serves as interface for connecting wallets. The Wallets have CLI commands to create them and create transactions, which now operate with UTXOs instead of just values. There is still no mechanism for communication between nodes, or deciding what is the canonical branch, but we'll get there

dantee-e and others added 30 commits March 25, 2025 23:27
…info based on what method). This makes invalid states unrepresentable
Dante Ramacciotti added 13 commits June 6, 2025 17:33
Added log saving and retrieving after shutdown (on the
.share/local/cleyto_coin/logs or something like that), added the config
toml (on .config/cleyto_coin), new binary for creating wallets and
sending transactions. Node still doesn't check the U... something to see
if the sender had enough to pay the receiver. Also changed how the
private and public keys are held in the wallet (from [u8] to the PKey
objects.
I'm commiting now to start changing the server killing feature to a
socket instead of a channel, so that I can kill it from another process
and not only from another thread
Updated readme with the latest functionalities, tests will from now on
always use run_server_thread instead of creating the server process. The
stuff not marked with [Under development] now works, and the server runs
headless unless explicitly stated --blocking or --gui
Now there's an algorithm (untested) to select the UTXOs that will
compose the transactions. I should still implement a way for the user to
choose it manually, introduced some utilities functions and changed some
old ones. I don't remember the rest tbh
not working, trying to implement the branch and bound. I'm tired so fuck
it, do it next week
Finished the implementation of the BnB algorithm for coin selection as
described here
https://bitcoin.stackexchange.com/questions/119919/how-does-the-branch-and-bound-coin-selection-algorithm-work.
Missing implementation of non exact algorithm now, and the constants are
all fucked up I think
@dantee-e dantee-e requested a review from guhkadoo September 15, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant