View Source Radixir.Core.Request.BuildTransaction.Operation.DataObject.ValidatorBFTdata (radixir v0.0.3)

Methods to create each map in ValidatorBFTdata map.

Link to this section Summary

Functions

Generates stitch plan for proposals_completed map in ValidatorBFTdata map.

Generates stitch plan for proposals_missed map in ValidatorBFTdata map.

Generates stitch plan for type map in ValidatorBFTdata map. Value is set to ValidatorBFTdata.

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

proposals_completed(stitch_plans, params)

View Source

Specs

proposals_completed(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for proposals_completed map in ValidatorBFTdata map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • proposals_completed (required, integer): Proposals completed.
Link to this function

proposals_missed(stitch_plans, params)

View Source

Specs

proposals_missed(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for proposals_missed map in ValidatorBFTdata map.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • proposals_missed (required, integer): Proposals missed.

Specs

type(stitch_plans()) :: stitch_plans()

Generates stitch plan for type map in ValidatorBFTdata map. Value is set to ValidatorBFTdata.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.