add comments on when/how to use BlockstackDB class

This commit is contained in:
Jude Nelson
2016-07-06 12:55:29 -04:00
parent 193b89afd7
commit 3390162543

View File

@@ -70,6 +70,9 @@ class BlockstackDB( virtualchain.StateEngine ):
"""
Construct a blockstack state engine, optionally from locally-cached
blockstack database state.
Within the context of blockstack-server:
* do NOT instantiate directly. Use the virtualchain_hooks helper method (get_db_state())
"""
import virtualchain_hooks