Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

feat(consensus): Support trsanction executor. #6

Merged
merged 1 commit into from
Sep 26, 2019
Merged

feat(consensus): Support trsanction executor. #6

merged 1 commit into from
Sep 26, 2019

Conversation

yejiayu
Copy link
Contributor

@yejiayu yejiayu commented Sep 26, 2019

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@yejiayu yejiayu merged commit e1188f9 into nervosnetwork:master Sep 26, 2019
yejiayu referenced this pull request in yejiayu/muta Oct 31, 2019
* feat(protocol): Add the underlying data structure.

* chore(rust-toolchain): bump to nightly-2019-08-01

Fix prost compilation failure.

* feat(protocol): add codec trait

* feat(protocol): add primitive protobuf structs

* feat(protocol): implement conversion for protobuf primitive

* feat(protocol): implement ProtocolCodec for protocol primitive

* feat(protocol): add transaction protobuf structs

* feat(protocol): implement conversion for transaction protobuf

* feat(protocol): add *_sync funcs to codec

* chore(protocol): rename BytesCodec to ProtocolCodecSync

* fix(protocol): clippy warning

* chore(protocol): ProtocolCodec::encode now takes mut reference

* chore(protocol): add _sync suffix to ProtocolCodecSync funcs

* chore(protocol): ProtocolCodec now depends on ProtocolCodecSync

Shorten ProtocolCodec trait bound

* chore(protocol): rebase to latest master
muta-robot pushed a commit that referenced this pull request Jul 28, 2020
* refactor(consensus)!: replace Validator address bytes with pubkey bytes (#354) (#2)

* change(consensus): replace Validator address bytes with pubkey bytes

BREAKING CHANGE:
- replace Validator address bytes with pubkey bytes

* change(consensus): log validator address instead of its public key

Block proposer is address instead public key

* fix: compilation failed

* chore(network): move in protocols  (#3)

* feat(network): move in discovery protocol from forked

* feat(network): move in ping protocol

* feat(network): move in identify protocol

* chore(network): use tentacle from crate

* refactor(network): change allow_global_ip feature to global_ip_only

* change(network): remove secio_enabled in identify protocol

secio should be always enabled in muta network

* refactor(network): identify protocol

* refactor(network): discovery global_ip_only feature

* chore(network): remove garbage files

* fix(network): clippy on auto generated code

* fix(network): clippy warnings

* refactor(nework): ping message use protobuf instead

* refactor(network): use protobuf to define discovery message

* chore(network): turn off global_ip_only feature by default

* refactor(network): define identify message using protobuf

* fix(network): clippy warnings

* chore(network): remove unused molecule

* refactor(network): remove address, use peer id instead (#4)

* refactor(network)!: remove Address, use peer id

BREAKING CHANGE:
- change users_cast to multicast, take peer_ids bytes instead of Address
- network bootstrap configuration now takes peer id instead of pubkey hex

* refactor(network): PeerId api

* feat(network): add peer tag support (#5)

* feat(network): peer tag support

* refactor(network): use tag to implement allowlist, ban

* fix(network): unit tests

* fix(network): peer manager tests

* fix(trust_metric_test): update to new network code

* fix(network): rebase to latest PR

* fix(network): clippy warnings

* fix(network): no ban check in tags insert

* fix(network): also check Consensus tag instead mixed it with AlwaysAllow

* feat(network): tag consensus peers (#6)

* feat(network): implement tag api

* feat: tag consensus peers

* feat(network): don't share consensus ips (#7)

* fix(network): InvalidPublicKey when tag consensus peer

* fix(network): forget to update tag consensus in update status

* fix(network): DiscoveryMessage deserialize failed

* fix: rebase master
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant