mirror of
https://github.com/arnaucube/slowlorisdb.git
synced 2026-02-28 05:46:48 +01:00
add main
This commit is contained in:
@@ -28,6 +28,10 @@ func NewNode(privK *ecdsa.PrivateKey, bc *core.Blockchain, isMiner bool) (*Node,
|
||||
return node, nil
|
||||
}
|
||||
|
||||
func (node *Node) Start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (node *Node) Sign(m []byte) (*core.Signature, error) {
|
||||
return core.Sign(node.PrivK, m)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user