Direct calls to Params() should be replaced with config.GetChainParams() where appropriate.
Description
Description
Revisions and Commits
Revisions and Commits
rSTAGING Bitcoin ABC staging | |||
D1080 | rSTAGING0162ab0879f8 [Part6] Removed the single parameter overload of static function… | ||
D1079 | rSTAGINGa9e4406060a1 [Part5] CWallet constructor now has additional parameter chainParams | ||
D1073 | rSTAGING5d31b1c35d94 Replaced calls to DecodeDestination(str) with DecodeDestination(str,config)… | ||
D1071 | rSTAGING90c710fa0b58 [Part2] Use config.GetChainParams() insted of Params() where config is… | ||
D1070 | rSTAGING5242be937fdb [Part1] Removed Params() from addrdb |
Related Objects
Related Objects
- Mentioned In
- D1070: [Part1] Removed Params() from addrdb
Event Timeline
Comment Actions
@jasonbcox, should I also try to remove the following functions from DstEncode.h:
// Temporary workaround. Don't rely on global state, pass all parameters in new // code. std::string EncodeDestination(const CTxDestination &); CTxDestination DecodeDestination(const std::string &addr); bool IsValidDestinationString(const std::string &addr);
BTW: EncodeDestination requires Config, because of support of new bitcoincash address support (config.UseCashAddrEncoding()).
This comment was removed by deadalnix.