Comme évoqué lors de la dernière réunion développeurs, le lancement d’un test GTest prévu pour début juillet nécessite une révision des paramètres de la chaîne, qui n’ont pas encore été examinés. Je poste ici la liste (plus ou moins complète) des paramètres numériques de la chaîne. Restera aussi la question du treasury spend origin à régler Set correct treasury spend origin (!314) · Merge requests · nodes / rust / Duniter v2S · GitLab
Pallet | Parameter Name | Description | Value |
---|---|---|---|
System | BlockHashCount | Maximum number of block number to block hash mappings to keep | 2400 blocks (4 hours) |
BlockWeights | Block weights and limits | 2 seconds of compute (6s avg block time) | |
BlockLength | Maximum block length | 5 MB | |
SS58Prefix | Chain identifier prefix | 42 | |
MaxConsumers | Maximum number of consumers for an account | 16 | |
Authority Discovery | MaxAuthorities | Maximum number of authorities | 32 |
Timestamp | MinimumPeriod | Minimum time between blocks | 3000 ms (SLOT_DURATION/2) |
Distance | MinAccessibleReferees | Minimum percentage of accessible referees | 80% |
MaxRefereeDistance | Maximum referee distance | 5 | |
EvaluationPeriod | Period for distance evaluation | 7 blocks (42 seconds) | |
EvaluationPrice | Price for requesting distance evaluation | 1000 | |
Babe | EpochDuration | Duration of an epoch in slots | 600 blocks (1 hour) |
ExpectedBlockTime | Expected block time | 6000 ms | |
ReportLongevity | Longevity of equivocation reports | 100,800 blocks (7 days) | |
PrimaryProbability | Probability of primary block production | 1/4 (25%) | |
ImOnline | ImOnlineUnsignedPriority | Priority of unsigned im-online transactions | MAX |
MaxPeerInHeartbeats | Maximum peers in heartbeats | 10,000 | |
MaxPeerDataEncodingSize | Maximum peer data encoding size | 1,000 | |
Balances | ExistentialDeposit | Minimum balance to keep an account alive | 100 |
MaxLocks | Maximum number of locks per account | 50 | |
MaxReserves | Maximum number of reserves per account | 5 | |
Universal Dividend | SquareMoneyGrowthRate | Money growth rate squared | 0.002381440 (0.0488²) |
UdCreationPeriod | Period between UD creations | 14,400 blocks (1 day) | |
UdReevalPeriod | Period between UD reevaluations | 100,800 blocks (7 days) | |
MaxPastReeval | Maximum past reevaluations stored | 160 | |
WOT | WotFirstCertIssuableOn | First block when certifications can be issued | 14,400 blocks (1 day) |
WotMinCertForMembership | Minimum certifications needed for membership | 5 | |
MinReceivedCertToBeAbleToIssueCert | Minimum received certs to be able to issue certs | 5 | |
WotMinCertForCreateIdtyRight | Minimum certifications needed to create identity right | 5 | |
Identity | ChangeOwnerKeyPeriod | Period to change owner key | 438,300 blocks (~1 month) |
ConfirmPeriod | Confirmation period for identity operations | 14,400 blocks (1 day) | |
IdtyCreationPeriod | Period between identity creations | 14,400 blocks (1 day) | |
AutorevocationPeriod | Period before auto-revocation | 5,259,600 blocks (~1 year) | |
DeletionPeriod | Period before identity deletion | 52,596,000 blocks (~10 years) | |
ValidationPeriod | Period for identity validation | 87,600 blocks (~2 months) | |
Membership | MembershipPeriod | Duration of membership | 1,051,200 blocks (~73 days) |
MembershipRenewalPeriod | Period for membership renewal | 806,400 blocks (~56 days) | |
Certification | CertPeriod | Period between certifications | 14,400 blocks (1 day) |
MaxByIssuer | Maximum certifications per issuer | 100 | |
ValidityPeriod | Validity period of certifications | 210,240 blocks (~146 days) | |
Smith-Members | SmithWotMinCertForMembership | Minimum certs for Smith membership | 3 |
SmithMaxByIssuer | Maximum Smith members per issuer | 100 | |
SmithInactivityMaxDuration | Maximum inactivity duration for Smith members | 48 blocks (4.8 minutes) | |
Multisig | MaxSignatories | Maximum number of signatories | 10 |
Treasury | TreasuryPalletId | Treasury account pallet ID | “py/trsry” |
SpendPeriod | Period between treasury spends | 14,400 blocks (1 day) | |
Burn | Percentage of funds to burn | 0% | |
ProposalBond | Percentage of proposal value to bond | 1% | |
ProposalBondMaximum | Maximum proposal bond amount | None | |
MaxApprovals | Maximum treasury approvals | 100 | |
PayoutPeriod | Payout period | 100 | |
Scheduler | MaximumSchedulerWeight | Maximum weight for scheduler operations | 80% of max block weight |
MaxScheduledPerBlock | Maximum scheduled calls per block | 50 | |
NoPreimagePostponement | Postponement when no preimage | 10 | |
Quota | ReloadRate | Rate at which quota reloads | 600 blocks (1 hour) |
MaxQuota | Maximum quota amount | 1000 (10 ĞD) | |
MaxNominators | Maximum number of nominators | 64 | |
Transaction Payment | Target | Target block saturation for fee adjustment | 25% |
MaxMultiplier | Maximum fee multiplier | 10 | |
OperationalFeeMultiplier | Multiplier for operational transactions | 5 | |
Proxy | ProxyDepositBase | Base deposit for proxy | 108 (100 + 8) |
ProxyDepositFactor | Additional deposit per proxy | 33 (0 + 33) | |
AnnouncementDepositBase | Base deposit for announcement | 108 (100 + 8) | |
AnnouncementDepositFactor | Additional deposit per announcement | 66 (0 + 66) | |
MaxPending | Maximum pending proxy announcements | 32 | |
MaxProxies | Maximum proxies per account | 32 | |
Preimage | PreimageMaxSize | Maximum preimage size | 4096 KB |
PreimageBaseDeposit | Base deposit for preimage | 264 (200 + 64) | |
PreimageByteDeposit | Deposit per byte for preimage | 1 (0 + 1) | |
Grandpa | MaxSetIdSessionEntries | Maximum session entries for set ID | 1000 |
MaxNominators | Maximum nominators per validator | 64 | |
Atomic Swap | ProofLimit | Maximum proof size | 1024 bytes |
Provide Randomness | MaxRequests | Maximum randomness requests | 100 |
RequestPrice | Price per randomness request | 2000 | |
Technical Committee | TechnicalCommitteeMotionDuration | Duration for technical committee motions | 100,800 blocks (7 days) |
MaxWeight | Maximum weight for technical committee proposals | 50% of max block weight | |
MaxMembers | Maximum committee members | 100 | |
MaxProposals | Maximum active proposals | 20 |