diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-22 11:49:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:16 +0800 |
commit | c87eec6ae59687d8a041140bf02add6ad1ef9788 (patch) | |
tree | fd15076ae1edc55128d4d1c60967d216e8ebd84f /dex | |
parent | 5f1b306988f331695de76d4a1e6ff1ad26d83649 (diff) | |
download | go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.tar go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.tar.gz go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.tar.bz2 go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.tar.lz go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.tar.xz go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.tar.zst go-tangerine-c87eec6ae59687d8a041140bf02add6ad1ef9788.zip |
geth: add propose flag to enable/disable proposing
Diffstat (limited to 'dex')
-rw-r--r-- | dex/backend.go | 7 |
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) |