From 0919737c006412ed5adea899f1fbc5fd0da1c476 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Fri, 1 Dec 2017 09:17:23 -0800 Subject: [PATCH] ... --- {app => _attic/app}/app_test.go | 0 {app => _attic/app}/genesis_test.go | 0 app/doc.go | 20 +++++--------------- 3 files changed, 5 insertions(+), 15 deletions(-) rename {app => _attic/app}/app_test.go (100%) rename {app => _attic/app}/genesis_test.go (100%) diff --git a/app/app_test.go b/_attic/app/app_test.go similarity index 100% rename from app/app_test.go rename to _attic/app/app_test.go diff --git a/app/genesis_test.go b/_attic/app/genesis_test.go similarity index 100% rename from app/genesis_test.go rename to _attic/app/genesis_test.go diff --git a/app/doc.go b/app/doc.go index d880368658..c81e394320 100644 --- a/app/doc.go +++ b/app/doc.go @@ -1,19 +1,9 @@ /* -Package app contains data structures that provide basic -data storage functionality and act as a bridge between the abci -interface and the internal sdk representations. +Package app contains data structures that provide basic data storage +functionality and act as a bridge between the ABCI interface and the internal +SDK representations. -StoreApp handles creating a datastore or loading an existing one -from disk, provides helpers to use in the transaction workflow -(check/deliver/commit), and provides bindings to the ABCI interface -for functionality such as handshaking with tendermint on restart, -querying the data store, and handling begin/end block and commit messages. -It does not handle CheckTx or DeliverTx, or have any logic for modifying -the state, and is quite generic if you don't wish to use the standard Handlers. - -BaseApp embeds StoreApp and extends it for the standard sdk usecase, where -we dispatch all CheckTx/DeliverTx messages to a handler (which may contain -decorators and a router to multiple modules), and supports a Ticker which -is called every BeginBlock. +BaseApp has no state except the MultiStore you provide upon init. You must +also provide a Handler and a TxParser. */ package app