diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-22 11:49:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 0282d618a97878f45fec8fff4f2cb3ded31f78f8 (patch) | |
tree | 11283430ec2321a48e875113f29d7b79cb15af2d /dex | |
parent | 429d5cb30e0883b5f2e68fb7a3b38c80836df5f5 (diff) | |
download | dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.tar dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.tar.gz dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.tar.bz2 dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.tar.lz dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.tar.xz dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.tar.zst dexon-0282d618a97878f45fec8fff4f2cb3ded31f78f8.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 26729ca25..dd2312e35 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) |