Replies: 1 comment
-
May I ask if there is sample code on how to achieve this goal |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
arc: ARC-0044
title: Building an EpochProgram of Similar Computational Loads
authors: OzielLa
topic: Protocol
status: Draft
created: 10/17/2024
Abstract
This proposal aims to address the issue of 1 to 4 times difference in puzzle- solving workload across different epochs by limiting the number of
num_private
instead ofopcode
. When the overall computational power of provers across the network stabilizes and significant fluctuations in the Proof Target occur, Puzzle rewards may vary by 1 to 4 times. These frequent fluctuations impact the estimated output model of the project.Background
After a period of operation and technical analysis, it has been observed that the workload of puzzles has a significant correlation with the quantity of
num_private
generated during program execution.Proposal
This proposal advises to replace the current limit on
opcode
with that on the quantity ofnum_private
.leaves
asMAX_LEAVES_COUNT
.InstructionSet
by adding a data relationship between puzzle workloads and the quantity ofnum_private
.instruction_string
.Technical Considerations
MAX_LEAVES_COUNT
, it needs to ensure a sufficient number of Operation Instructions to guarantee sufficient randomness in the EpochProgram.num_private
intoInstructionSet
, how to reasonably adjust the original weight values needs to be considered .Benefits
Risks and Mitigations
TBD
Conclusion
By building an EpochProgram of similar computational loads, that can facilitate the assessment of current network computational power change and ensure fairer returns for provers.
Beta Was this translation helpful? Give feedback.
All reactions