domob1812
commented at 3:10 pm on July 24, 2015:
contributor
Clean up the code in chainparams a bit more after the recent refactorings. In particular, make sure the structure of the “RegTest” params matches the structure of the other classes. This makes the code clearer to read.
Also remove redundant values of the genesis block in always-specified optional arguments and mark variable/argument as “const”.
sipa
commented at 5:22 pm on July 24, 2015:
member
No strong opinion, but looks good to me.
jonasschnelli
commented at 7:51 am on July 25, 2015:
contributor
ACK (makes sense to remove duplicated parameter default values and the const pass by ref).
laanwj added the label
Refactoring
on Jul 27, 2015
laanwj
commented at 9:34 am on July 27, 2015:
member
I’d prefer to take this one step further: remove the default arguments from the outer CreateGenesisBlock as well. And specify all the parameters where they belong, together, in the appropriate constructor.
domob1812 force-pushed
on Jul 28, 2015
domob1812
commented at 2:08 pm on July 28, 2015:
contributor
I agree - I’ve updated the patch. When it is finally reviewed and ready, I will squash the commits.
laanwj
commented at 2:45 pm on July 28, 2015:
member
utACK
Looks much better like this.
theuni
commented at 4:44 pm on July 28, 2015:
member
ut ACK. Agreed that the defaults there are strange.
laanwj
commented at 4:36 pm on July 29, 2015:
member
domob1812
commented at 7:13 pm on July 29, 2015:
contributor
Done.
Clean up chainparams some more.
Clean up the code in chainparams a bit more after the recent
refactorings. In particular, make sure the structure of the "RegTest"
params matches the structure of the other classes. This makes the code
clearer to read.
Also remove redundant values of the genesis block in always-specified
optional arguments and mark variable/argument as "const".
5fb5c9b213
laanwj merged this
on Jul 31, 2015
laanwj closed this
on Jul 31, 2015
laanwj referenced this in commit
86cfd23f68
on Jul 31, 2015
domob1812 deleted the branch
on Jul 31, 2015
zkbot referenced this in commit
e1c68f0631
on Jan 19, 2018
zkbot referenced this in commit
4f77ce5cb1
on Jan 22, 2018
zkbot referenced this in commit
cc571a3ccd
on Jan 22, 2018
zkbot referenced this in commit
50c23880c7
on Jan 22, 2018
zkbot referenced this in commit
a4a020de7b
on Jan 22, 2018
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-06-02 01:13 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me