Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Package Safety #31

Closed
DavidVorick opened this issue Nov 3, 2014 · 0 comments
Closed

Package Safety #31

DavidVorick opened this issue Nov 3, 2014 · 0 comments

Comments

@DavidVorick
Copy link
Member

We should enforce safety by separating the code into multiple packages.

For example, nothing should ever call any function in verify.go except for AcceptBlock and AcceptTransaction. But they're all available to everyone. If verification was in its own package, there would be additional safety.

This is pretty low priority.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant