mintlayer-core
mintlayer-core copied to clipboard
Mintlayer Core: The central repository housing the essential components to operate a Mintlayer node. It encompasses the node and wallet functionalities necessary for seamless operation, alongside an a...
In bitcoin core IPv4 and IPv6 are distinct fields in `netaddress::Network` enum. This has some interesting consequences. For example, the node will try to keep at least 1 connection to...
Currently, when serializing a block, it's not possible to see the transaction id, because serde serializes fields and doesn't support any modes for serialization to choose how to serialize. This...
#1400 introduced random delay but it shouldn't be applied to whitelisted peers
Currently when handling a block request we append the newly requested block ids to the queue of previously requested ones, which makes it impossible for the peer to "change its...
`BlockSyncManager`'s `Peer` tasks store requested block ids in `blocks_queue`. Then, on each iteration of the "main" loop, one of the ids is popped from the queue and the corresponding `BlockResponse`...
`DBAccountingPoolDelegationShares` field is represented as `Map` in the storage. It's used to retrieve all the delegations for a particular pool. But doing so is not efficient because it fetches all...
Giving that we limit reorgs after some depth, there should be some clean up done in storage to free up space given that it's not used anymore.
(Created on Aug 30, 2023 by @iljakuklic) Mempool builds a transaction graph and assigns each transaction a score. The score is used to pick the best transactions to be included...
The GUI node crashes inside the mempool task if stopped while downloading blocks. I can't reproduce the crash with `node-daemon`, but I don't think the crash is GUI specific. It...
Currently, the block height is used in the function fetch_and_sync, and there's a TODO about it: https://github.com/mintlayer/mintlayer-core/blob/72b0e1c8d56b8b6fc9b9d2ff332c68eb79c7bf3c/wallet/wallet-controller/src/sync/mod.rs#L162C13-L162C13 The same problem may be also in the API server since the initial...