Skip to content

Conversation

@zeptin
Copy link
Collaborator

@zeptin zeptin commented Jun 28, 2023

Adds the additional constraint that a multisig federation node must be actively participating in the InterFlux confirmation process in order to receive a portion of the fees thereof.

This is achieved by populating a set of the node pubkeys that confirmed a given transaction at the time it is marked as processed. This tracker is available to the FederatedPeg feature without having any smart contract interface logic inside it.

When a fee is about to be distributed, a list of the request IDs of n (currently 5, this can be changed) previous processed InterFlux deposits is retrieved. A set of the pubkeys that participated in confirming these deposits is constructed, nodes that are not present in this set do not receive a portion of the fee.

WIP: Still needs the pubkey/account mappings to be populated

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