aboutsummaryrefslogtreecommitdiffstats
path: root/dex/backend.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/backend.go')
-rw-r--r--dex/backend.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/dex/backend.go b/dex/backend.go
index 7a7ad7f47..9c931ee2c 100644
--- a/dex/backend.go
+++ b/dex/backend.go
@@ -255,6 +255,13 @@ func (s *Dexon) Stop() error {
return nil
}
+func (s *Dexon) StartProposing() error {
+ // TODO(sonic):
+ // enable dispatch vote, agreement result, finalization result.. msg to consensus core.
+ log.Debug("###############start proposing")
+ return nil
+}
+
// CreateDB creates the chain database.
func CreateDB(ctx *node.ServiceContext, config *Config, name string) (ethdb.Database, error) {
db, err := ctx.OpenDatabase(name, config.DatabaseCache, config.DatabaseHandles)