Skip to content

Split node into three files #23

Description

@MurrayGroves

The node file is now 1200+ lines.

There should be 3 files:

  • node.py - contains core node code (websocket server, boot script)
  • blockchain.py - contains blockchain functions (send(), verifySignature(), etc)
  • rpc.py - contains rpc functions (broadcast(), vote(), getHead(), etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cleanupImproves code but doesn't fix bugs or add features. E.g. typo fixes, comments, optimisation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions