diff options
author | Sonic <sonic@dexon.org> | 2019-03-21 15:57:28 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | a18f103408de2552bb5f47b1d76f4c6f18f0677e (patch) | |
tree | 2725210ada2691958e8f82e5366db249dd98325e /dex/cache_test.go | |
parent | 9ad0e05b15f8b36f38f19cc1b24dc8b93e845844 (diff) | |
download | dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.tar dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.tar.gz dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.tar.bz2 dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.tar.lz dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.tar.xz dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.tar.zst dexon-a18f103408de2552bb5f47b1d76f4c6f18f0677e.zip |
dex: reduce msg when broadcast tx (#292)
Our network topology is different from ethereum, the nodes in notary set will
connect each other directly. So there is a waste for flooding tx msgs
in notary set. And nodes in notary set are more likely to propose block
successfully, it is not useful to broadcast tx msgs to non notary set
nodes.
This PR will increase some tx confirm latency, but can reduce waste tx
msgs a lot.
Diffstat (limited to 'dex/cache_test.go')
0 files changed, 0 insertions, 0 deletions