Skip to content

Policy contract #3

@txhsl

Description

@txhsl

Rationale

Policy contract is a configuration contract that manages several global policies for every node, e.g. minimum allowed gas price, transaction blacklist. Policy contract can be only written by the consensus, but should be read and applied in runtime by everyone.

Implementation

Policy contract is going to be a pre-deployed Solidity smart contract, which has the following functionality.

  • Declare the lowest gas price for a transaction to be allowed in transaction pool;
  • Declare a blacklist for some addresses that are not allowed in transaction pool;
  • Check and only allow the consensus (governance) to update the configurations and upgrade the contract.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions