make help
make fmt
make check
make test
make build
https://docs.moonbeam.network/node-operators/networks/collator/
extrinsic
event
/home/bifrost/ronyang/parachain/bifrost/target/release/bifrost --ws-port=18850 --port=38850 --collator --base-path ./data --chain=bifrost-local --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe --rpc-port=28850 --wasm-execution=compiled --execution=wasm -- --chain=/home/bifrost/ronyang/parachain/polkadot-launch/rococo-local-raw.json --wasm-execution=compiled --execution=wasm --no-beefy
extrinsic
event
after 2 rounds the new collator begin produce blocks and receive Rewards
https://docs.moonbeam.network/tokens/staking/stake/
extrinsic
event
we can delegate more any time
to delegator less require schedule request first
then any one can execute the request after 36 rounds
to revoke means unbond from specific collator
then any one can execute the request after 36 rounds
to leave means unbound from all collators and require schedule first
then execute the request after 36 rounds
Rewards for collators and their delegators are calculated at the start of every round for their work prior to the reward payout delay(2 rounds).
https://docs.moonbeam.network/learn/features/staking/
mainly reference moonbeam implementation while decouple nimbus
from staking, implement traits to integrate with Session
module
https://github.com/bifrost-finance/moonbeam/commit/2e3f7dddad6294b661e08d17b45f42e853b4ecff
https://docs.moonbeam.network/cn/learn/features/consensus/
actually we've prepared another branch with nimbus integration and we may try it later if required
https://github.com/bifrost-finance/bifrost/tree/collator-staking
https://purestake.github.io/moonbeam/parachain_staking/
unbounding/revoke request also in delegate state
after each round will choose candidate from selected pool as potential block producer
there is a const value defines the min value to participant the staking
but not all delegators for the collator will receive reward, only the top T::MaxDelegatorsPerCollator)
(100 by default) will, so actually the MinDelegation
will be dynamically calculated on fly