Introduces a generated Go SDK client for the Lethean Blockchain API, including OpenAPI spec, models, API interfaces, documentation, and tests. This enables Go applications to interact with Lethean blockchain endpoints for block, info, and transaction operations.
16 KiB
Generated
BlockProcessingPerformanceModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| BlockProcessingTime0 | Pointer to int32 | [optional] | |
| BlockProcessingTime1 | Pointer to int32 | [optional] | |
| TargetCalculatingTime2 | Pointer to int32 | [optional] | |
| LonghashCalculatingTime3 | Pointer to int32 | [optional] | |
| AllTxsInsertTime5 | Pointer to int32 | [optional] | |
| EtcStuff6 | Pointer to int32 | [optional] | |
| InsertTime4 | Pointer to int32 | [optional] | |
| RaiseBlockCoreEvent | Pointer to int32 | [optional] | |
| ValidateMinerTransactionTime | Pointer to int32 | [optional] | |
| CollectRangeproofsDataFromTxTime | Pointer to int32 | [optional] | |
| VerifyMultipleZcOutsRangeProofsTime | Pointer to int32 | [optional] | |
| TargetCalculatingEnumBlocks | Pointer to int32 | [optional] | |
| TargetCalculatingCalc | Pointer to int32 | [optional] | |
| PosValidateKiSearch | Pointer to int32 | [optional] | |
| PosValidateGetOutKeysForInputs | Pointer to int32 | [optional] | |
| PosValidateZvp | Pointer to int32 | [optional] |
Methods
NewBlockProcessingPerformanceModel
func NewBlockProcessingPerformanceModel() *BlockProcessingPerformanceModel
NewBlockProcessingPerformanceModel instantiates a new BlockProcessingPerformanceModel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewBlockProcessingPerformanceModelWithDefaults
func NewBlockProcessingPerformanceModelWithDefaults() *BlockProcessingPerformanceModel
NewBlockProcessingPerformanceModelWithDefaults instantiates a new BlockProcessingPerformanceModel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetBlockProcessingTime0
func (o *BlockProcessingPerformanceModel) GetBlockProcessingTime0() int32
GetBlockProcessingTime0 returns the BlockProcessingTime0 field if non-nil, zero value otherwise.
GetBlockProcessingTime0Ok
func (o *BlockProcessingPerformanceModel) GetBlockProcessingTime0Ok() (*int32, bool)
GetBlockProcessingTime0Ok returns a tuple with the BlockProcessingTime0 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBlockProcessingTime0
func (o *BlockProcessingPerformanceModel) SetBlockProcessingTime0(v int32)
SetBlockProcessingTime0 sets BlockProcessingTime0 field to given value.
HasBlockProcessingTime0
func (o *BlockProcessingPerformanceModel) HasBlockProcessingTime0() bool
HasBlockProcessingTime0 returns a boolean if a field has been set.
GetBlockProcessingTime1
func (o *BlockProcessingPerformanceModel) GetBlockProcessingTime1() int32
GetBlockProcessingTime1 returns the BlockProcessingTime1 field if non-nil, zero value otherwise.
GetBlockProcessingTime1Ok
func (o *BlockProcessingPerformanceModel) GetBlockProcessingTime1Ok() (*int32, bool)
GetBlockProcessingTime1Ok returns a tuple with the BlockProcessingTime1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBlockProcessingTime1
func (o *BlockProcessingPerformanceModel) SetBlockProcessingTime1(v int32)
SetBlockProcessingTime1 sets BlockProcessingTime1 field to given value.
HasBlockProcessingTime1
func (o *BlockProcessingPerformanceModel) HasBlockProcessingTime1() bool
HasBlockProcessingTime1 returns a boolean if a field has been set.
GetTargetCalculatingTime2
func (o *BlockProcessingPerformanceModel) GetTargetCalculatingTime2() int32
GetTargetCalculatingTime2 returns the TargetCalculatingTime2 field if non-nil, zero value otherwise.
GetTargetCalculatingTime2Ok
func (o *BlockProcessingPerformanceModel) GetTargetCalculatingTime2Ok() (*int32, bool)
GetTargetCalculatingTime2Ok returns a tuple with the TargetCalculatingTime2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTargetCalculatingTime2
func (o *BlockProcessingPerformanceModel) SetTargetCalculatingTime2(v int32)
SetTargetCalculatingTime2 sets TargetCalculatingTime2 field to given value.
HasTargetCalculatingTime2
func (o *BlockProcessingPerformanceModel) HasTargetCalculatingTime2() bool
HasTargetCalculatingTime2 returns a boolean if a field has been set.
GetLonghashCalculatingTime3
func (o *BlockProcessingPerformanceModel) GetLonghashCalculatingTime3() int32
GetLonghashCalculatingTime3 returns the LonghashCalculatingTime3 field if non-nil, zero value otherwise.
GetLonghashCalculatingTime3Ok
func (o *BlockProcessingPerformanceModel) GetLonghashCalculatingTime3Ok() (*int32, bool)
GetLonghashCalculatingTime3Ok returns a tuple with the LonghashCalculatingTime3 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLonghashCalculatingTime3
func (o *BlockProcessingPerformanceModel) SetLonghashCalculatingTime3(v int32)
SetLonghashCalculatingTime3 sets LonghashCalculatingTime3 field to given value.
HasLonghashCalculatingTime3
func (o *BlockProcessingPerformanceModel) HasLonghashCalculatingTime3() bool
HasLonghashCalculatingTime3 returns a boolean if a field has been set.
GetAllTxsInsertTime5
func (o *BlockProcessingPerformanceModel) GetAllTxsInsertTime5() int32
GetAllTxsInsertTime5 returns the AllTxsInsertTime5 field if non-nil, zero value otherwise.
GetAllTxsInsertTime5Ok
func (o *BlockProcessingPerformanceModel) GetAllTxsInsertTime5Ok() (*int32, bool)
GetAllTxsInsertTime5Ok returns a tuple with the AllTxsInsertTime5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAllTxsInsertTime5
func (o *BlockProcessingPerformanceModel) SetAllTxsInsertTime5(v int32)
SetAllTxsInsertTime5 sets AllTxsInsertTime5 field to given value.
HasAllTxsInsertTime5
func (o *BlockProcessingPerformanceModel) HasAllTxsInsertTime5() bool
HasAllTxsInsertTime5 returns a boolean if a field has been set.
GetEtcStuff6
func (o *BlockProcessingPerformanceModel) GetEtcStuff6() int32
GetEtcStuff6 returns the EtcStuff6 field if non-nil, zero value otherwise.
GetEtcStuff6Ok
func (o *BlockProcessingPerformanceModel) GetEtcStuff6Ok() (*int32, bool)
GetEtcStuff6Ok returns a tuple with the EtcStuff6 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEtcStuff6
func (o *BlockProcessingPerformanceModel) SetEtcStuff6(v int32)
SetEtcStuff6 sets EtcStuff6 field to given value.
HasEtcStuff6
func (o *BlockProcessingPerformanceModel) HasEtcStuff6() bool
HasEtcStuff6 returns a boolean if a field has been set.
GetInsertTime4
func (o *BlockProcessingPerformanceModel) GetInsertTime4() int32
GetInsertTime4 returns the InsertTime4 field if non-nil, zero value otherwise.
GetInsertTime4Ok
func (o *BlockProcessingPerformanceModel) GetInsertTime4Ok() (*int32, bool)
GetInsertTime4Ok returns a tuple with the InsertTime4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInsertTime4
func (o *BlockProcessingPerformanceModel) SetInsertTime4(v int32)
SetInsertTime4 sets InsertTime4 field to given value.
HasInsertTime4
func (o *BlockProcessingPerformanceModel) HasInsertTime4() bool
HasInsertTime4 returns a boolean if a field has been set.
GetRaiseBlockCoreEvent
func (o *BlockProcessingPerformanceModel) GetRaiseBlockCoreEvent() int32
GetRaiseBlockCoreEvent returns the RaiseBlockCoreEvent field if non-nil, zero value otherwise.
GetRaiseBlockCoreEventOk
func (o *BlockProcessingPerformanceModel) GetRaiseBlockCoreEventOk() (*int32, bool)
GetRaiseBlockCoreEventOk returns a tuple with the RaiseBlockCoreEvent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRaiseBlockCoreEvent
func (o *BlockProcessingPerformanceModel) SetRaiseBlockCoreEvent(v int32)
SetRaiseBlockCoreEvent sets RaiseBlockCoreEvent field to given value.
HasRaiseBlockCoreEvent
func (o *BlockProcessingPerformanceModel) HasRaiseBlockCoreEvent() bool
HasRaiseBlockCoreEvent returns a boolean if a field has been set.
GetValidateMinerTransactionTime
func (o *BlockProcessingPerformanceModel) GetValidateMinerTransactionTime() int32
GetValidateMinerTransactionTime returns the ValidateMinerTransactionTime field if non-nil, zero value otherwise.
GetValidateMinerTransactionTimeOk
func (o *BlockProcessingPerformanceModel) GetValidateMinerTransactionTimeOk() (*int32, bool)
GetValidateMinerTransactionTimeOk returns a tuple with the ValidateMinerTransactionTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValidateMinerTransactionTime
func (o *BlockProcessingPerformanceModel) SetValidateMinerTransactionTime(v int32)
SetValidateMinerTransactionTime sets ValidateMinerTransactionTime field to given value.
HasValidateMinerTransactionTime
func (o *BlockProcessingPerformanceModel) HasValidateMinerTransactionTime() bool
HasValidateMinerTransactionTime returns a boolean if a field has been set.
GetCollectRangeproofsDataFromTxTime
func (o *BlockProcessingPerformanceModel) GetCollectRangeproofsDataFromTxTime() int32
GetCollectRangeproofsDataFromTxTime returns the CollectRangeproofsDataFromTxTime field if non-nil, zero value otherwise.
GetCollectRangeproofsDataFromTxTimeOk
func (o *BlockProcessingPerformanceModel) GetCollectRangeproofsDataFromTxTimeOk() (*int32, bool)
GetCollectRangeproofsDataFromTxTimeOk returns a tuple with the CollectRangeproofsDataFromTxTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCollectRangeproofsDataFromTxTime
func (o *BlockProcessingPerformanceModel) SetCollectRangeproofsDataFromTxTime(v int32)
SetCollectRangeproofsDataFromTxTime sets CollectRangeproofsDataFromTxTime field to given value.
HasCollectRangeproofsDataFromTxTime
func (o *BlockProcessingPerformanceModel) HasCollectRangeproofsDataFromTxTime() bool
HasCollectRangeproofsDataFromTxTime returns a boolean if a field has been set.
GetVerifyMultipleZcOutsRangeProofsTime
func (o *BlockProcessingPerformanceModel) GetVerifyMultipleZcOutsRangeProofsTime() int32
GetVerifyMultipleZcOutsRangeProofsTime returns the VerifyMultipleZcOutsRangeProofsTime field if non-nil, zero value otherwise.
GetVerifyMultipleZcOutsRangeProofsTimeOk
func (o *BlockProcessingPerformanceModel) GetVerifyMultipleZcOutsRangeProofsTimeOk() (*int32, bool)
GetVerifyMultipleZcOutsRangeProofsTimeOk returns a tuple with the VerifyMultipleZcOutsRangeProofsTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVerifyMultipleZcOutsRangeProofsTime
func (o *BlockProcessingPerformanceModel) SetVerifyMultipleZcOutsRangeProofsTime(v int32)
SetVerifyMultipleZcOutsRangeProofsTime sets VerifyMultipleZcOutsRangeProofsTime field to given value.
HasVerifyMultipleZcOutsRangeProofsTime
func (o *BlockProcessingPerformanceModel) HasVerifyMultipleZcOutsRangeProofsTime() bool
HasVerifyMultipleZcOutsRangeProofsTime returns a boolean if a field has been set.
GetTargetCalculatingEnumBlocks
func (o *BlockProcessingPerformanceModel) GetTargetCalculatingEnumBlocks() int32
GetTargetCalculatingEnumBlocks returns the TargetCalculatingEnumBlocks field if non-nil, zero value otherwise.
GetTargetCalculatingEnumBlocksOk
func (o *BlockProcessingPerformanceModel) GetTargetCalculatingEnumBlocksOk() (*int32, bool)
GetTargetCalculatingEnumBlocksOk returns a tuple with the TargetCalculatingEnumBlocks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTargetCalculatingEnumBlocks
func (o *BlockProcessingPerformanceModel) SetTargetCalculatingEnumBlocks(v int32)
SetTargetCalculatingEnumBlocks sets TargetCalculatingEnumBlocks field to given value.
HasTargetCalculatingEnumBlocks
func (o *BlockProcessingPerformanceModel) HasTargetCalculatingEnumBlocks() bool
HasTargetCalculatingEnumBlocks returns a boolean if a field has been set.
GetTargetCalculatingCalc
func (o *BlockProcessingPerformanceModel) GetTargetCalculatingCalc() int32
GetTargetCalculatingCalc returns the TargetCalculatingCalc field if non-nil, zero value otherwise.
GetTargetCalculatingCalcOk
func (o *BlockProcessingPerformanceModel) GetTargetCalculatingCalcOk() (*int32, bool)
GetTargetCalculatingCalcOk returns a tuple with the TargetCalculatingCalc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTargetCalculatingCalc
func (o *BlockProcessingPerformanceModel) SetTargetCalculatingCalc(v int32)
SetTargetCalculatingCalc sets TargetCalculatingCalc field to given value.
HasTargetCalculatingCalc
func (o *BlockProcessingPerformanceModel) HasTargetCalculatingCalc() bool
HasTargetCalculatingCalc returns a boolean if a field has been set.
GetPosValidateKiSearch
func (o *BlockProcessingPerformanceModel) GetPosValidateKiSearch() int32
GetPosValidateKiSearch returns the PosValidateKiSearch field if non-nil, zero value otherwise.
GetPosValidateKiSearchOk
func (o *BlockProcessingPerformanceModel) GetPosValidateKiSearchOk() (*int32, bool)
GetPosValidateKiSearchOk returns a tuple with the PosValidateKiSearch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPosValidateKiSearch
func (o *BlockProcessingPerformanceModel) SetPosValidateKiSearch(v int32)
SetPosValidateKiSearch sets PosValidateKiSearch field to given value.
HasPosValidateKiSearch
func (o *BlockProcessingPerformanceModel) HasPosValidateKiSearch() bool
HasPosValidateKiSearch returns a boolean if a field has been set.
GetPosValidateGetOutKeysForInputs
func (o *BlockProcessingPerformanceModel) GetPosValidateGetOutKeysForInputs() int32
GetPosValidateGetOutKeysForInputs returns the PosValidateGetOutKeysForInputs field if non-nil, zero value otherwise.
GetPosValidateGetOutKeysForInputsOk
func (o *BlockProcessingPerformanceModel) GetPosValidateGetOutKeysForInputsOk() (*int32, bool)
GetPosValidateGetOutKeysForInputsOk returns a tuple with the PosValidateGetOutKeysForInputs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPosValidateGetOutKeysForInputs
func (o *BlockProcessingPerformanceModel) SetPosValidateGetOutKeysForInputs(v int32)
SetPosValidateGetOutKeysForInputs sets PosValidateGetOutKeysForInputs field to given value.
HasPosValidateGetOutKeysForInputs
func (o *BlockProcessingPerformanceModel) HasPosValidateGetOutKeysForInputs() bool
HasPosValidateGetOutKeysForInputs returns a boolean if a field has been set.
GetPosValidateZvp
func (o *BlockProcessingPerformanceModel) GetPosValidateZvp() int32
GetPosValidateZvp returns the PosValidateZvp field if non-nil, zero value otherwise.
GetPosValidateZvpOk
func (o *BlockProcessingPerformanceModel) GetPosValidateZvpOk() (*int32, bool)
GetPosValidateZvpOk returns a tuple with the PosValidateZvp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPosValidateZvp
func (o *BlockProcessingPerformanceModel) SetPosValidateZvp(v int32)
SetPosValidateZvp sets PosValidateZvp field to given value.
HasPosValidateZvp
func (o *BlockProcessingPerformanceModel) HasPosValidateZvp() bool
HasPosValidateZvp returns a boolean if a field has been set.