diff --git a/service/state/doc.go b/service/state/doc.go new file mode 100644 index 0000000000..79f8e6a106 --- /dev/null +++ b/service/state/doc.go @@ -0,0 +1,17 @@ +// Package state provides a structure for celestia-node's ability to access +// state-relevant information from as well as submit transactions/messages +// to the celestia network. +// +// This package contains one main interface, `Accessor`, that defines +// the methods available for both accessing and updating state on the +// celestia network. +// +// `Accessor` will contain three different implementations: +// 1. Implementation over a gRPC connection with a celestia-core node +// called `CoreAccess`. +// 2. Implementation over a libp2p stream with a state-providing node. +// 3. Implementation over a local running instance of the +// celestia-application (this feature will be implemented in *Full* +// nodes). +// +package state