forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add system config consensus to deprecate poa
- Loading branch information
Showing
13 changed files
with
543 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package system_contract | ||
|
||
import ( | ||
"github.com/scroll-tech/go-ethereum/common" | ||
"github.com/scroll-tech/go-ethereum/consensus" | ||
"github.com/scroll-tech/go-ethereum/rpc" | ||
) | ||
|
||
// API is a user facing RPC API to allow controlling the signer and voting | ||
// mechanisms of the proof-of-authority scheme. | ||
type API struct { | ||
chain consensus.ChainHeaderReader | ||
} | ||
|
||
// GetSigners retrieves the list of authorized signers at the specified block. | ||
func (api *API) GetSigners(number *rpc.BlockNumber) ([]common.Address, error) { | ||
return nil, nil | ||
} |
Oops, something went wrong.