MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetFuelRate

Method GetFuelRate

src/persistence/block.h:119–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 uint32_t GetFuelFee() const { return nFuelFee; }
118 void SetFuel(uint64_t fuel) { this->nFuelFee = fuel; }
119 uint32_t GetFuelRate() const { return nFuelRate; }
120 void SetFuelRate(uint32_t fuelRate) { this->nFuelRate = fuelRate; }
121 const vector<unsigned char> &GetSignature() const { return vSignature; }
122 void SetSignature(const vector<unsigned char> &signature) { this->vSignature = signature; }

Callers 5

ConnectBlockFunction · 0.80
AcceptBlockFunction · 0.80
CBlockIndexMethod · 0.80
BlockToJSONFunction · 0.80
SetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected