From e67f9f0cbf15da6d88ef1c09c99c628fba552418 Mon Sep 17 00:00:00 2001 From: Sonic Date: Mon, 22 Oct 2018 11:49:29 +0800 Subject: geth: add propose flag to enable/disable proposing --- dex/backend.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dex/backend.go') 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) -- cgit v1.2.3