High-level message format: StandardRequest and Response
Request struct definition:
pub struct Subscribe<'a> {
pub id: u64,
pub agent_signature: String,
pub extranonce1: Option>,
The purpose of this document is to provide a detailed explanation of the code related to the message-generator and it serves as a tool for developers to quickly understand the code structure and the main steps the message-generator does for test execution. The following code analysis is divided into sections that represent the different source files of the message-generator, making it easier to find references in the code.
Sv2Type, which contains all data types used in SV2, and ActionResult, which contains the possible values representing the results of an action defined inside the test file.Upstream and Downstream, which represent the connection settings of the tested SV2 role.Action, which represents an action that has to be execute and the result of which has to be checked as defined inside the test file.Command that r