Skip to content

Conversation

@linh-nguyenbao
Copy link
Collaborator

@linh-nguyenbao linh-nguyenbao commented Oct 21, 2025

We can implement 2 types of blacklist

  • mempool blacklist: only blacklist the wallet from grpc or json-grpc
  • node blacklist: blacklist wallet all network
  • for now run with 1 node we can only implement mempool blacklist.
    if we want implement blacklist with multiple nodes in next phase we can implement a blacklist topic then notify spam for all node and add that wallet to mempool blacklist of all nodes.

should we vote fail for transaction in P2P for blacklisted wallet?

  • no it still a correct transaction if it not spam
    #353

Reseach for all nodes blacklist

who can add blacklist for all node

  • we can have a verify logic like: if that wallet in mempool blacklist of > 1 or all nodes / 2 nodes, we will blacklist that wallet for all nodes

@linh-nguyenbao linh-nguyenbao marked this pull request as ready for review October 21, 2025 04:18
@hoangdohuy
Copy link
Collaborator

should discuss with team about high-level solution first

@hoangdohuy hoangdohuy changed the title mmn blacklist (WIP) mmn blacklist Oct 22, 2025
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.

3 participants