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

feat(consensus): Execute the transactions on commit. #7

Merged
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?
feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@KaoImin KaoImin merged commit b54e7d2 into master Sep 26, 2019
yejiayu referenced this pull request in yejiayu/muta Oct 31, 2019
* define transaction-pool trait

* rename transaction_pool to mempool

* derive PartialEq, Eq, Hash for Hash, Address, AccountAddress

* add check_transaction interface

* reorder crate ref
@yejiayu yejiayu deleted the rewrite-consensus branch December 4, 2019 07:59
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.

3 participants