Skip to content

Extract Node interface from existing code #650

@tzdybal

Description

@tzdybal
  • Rename node.Node to node.FullNode
  • Create node.Node interface by extracting all existing public functions of node.FullNode
  • Create node.newFullNode function and move node.NewNode functionality there
  • Modify node.NewNode to just call node.newFullNode (this will be changed later, see: Create stub of LightNode implementation #651).
  • Consider moving noode.FullNode to node/full_node.go

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions