Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This introduces the mixing module and mixpool package which implements a mixing message pool. Similar to the transaction mempool, the mixpool records recently observed mixing messages and allows these messages to be temporarily stored in memory to be relayed through the P2P network. It handles message acceptance, expiry, UTXO ownership proof checks, and that previously referenced messages have also been accepted to the mixpool. The mixpool is also designed with wallet usage in mind, providing most of these same acceptance rules to mixing messages received by wallets, and implements queries for messages matching compatible pairings and ongoing sessions.
- Loading branch information