diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-22 11:49:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | e67f9f0cbf15da6d88ef1c09c99c628fba552418 (patch) | |
tree | 1c22ed5e0743718c02f1309f7c41e5bd083b40c5 /dex | |
parent | 1901a79cc82a0829c62d446d1cc3e16005240b7a (diff) | |
download | dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.tar dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.tar.gz dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.tar.bz2 dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.tar.lz dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.tar.xz dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.tar.zst dexon-e67f9f0cbf15da6d88ef1c09c99c628fba552418.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) |