Page MenuHomePhabricator

Cache the result of chainparams.GetConsensus() in miner code
ClosedPublic

Authored by deadalnix on Feb 9 2020, 23:26.

Details

Summary

Calling the same function again and again is redudant.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable