gui icon indicating copy to clipboard operation
gui copied to clipboard

Intro: Have user choose assumevalid

Open luke-jr opened this issue 4 years ago • 18 comments

Context: https://twitter.com/notgrubles/status/1297671475059728390

luke-jr avatar Dec 10 '20 23:12 luke-jr

Concept ACK on allowing the GUI user to opt-out of -assumevalid. The text needs some work, e.g. it should explain what is and isn't validated.

Sjors avatar Dec 11 '20 10:12 Sjors

@Sjors Any suggestions for the text?

Note that validation is largely a black-and-white thing: unless you validate everything, you might as well be validating nothing. I think the only exception is the PoW?

luke-jr avatar Dec 11 '20 15:12 luke-jr

I'm pretty sure it also checks that coins aren't created out of nothing (i.e. it checks a coin spends outpoints and tracks which new ones it creates, and that the amounts add up).

Sjors avatar Dec 11 '20 16:12 Sjors

Hm, I keep getting errors when trying to compile

make:

qt/intro.cpp: In constructor ‘Intro::Intro(QWidget*, int64_t, int64_t)’: qt/intro.cpp:178:52: error: invalid initialization of reference of type ‘const string&’ {aka ‘const std::__cxx11::basic_string&’} from expression of type ‘ArgsManager’ const auto chainparams = CreateChainParams(gArgs, gArgs.GetChainName()); ^~~~~ In file included from qt/intro.cpp:9: ./chainparams.h:117:37: note: in passing argument 1 of ‘std::unique_ptr<const CChainParams> CreateChainParams(const string&)’ std::unique_ptr<const CChainParams> CreateChainParams(const std::string& chain); ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:13191: qt/libbitcoinqt_a-intro.o] Error 1 make[2]: Leaving directory '/home/user/gui/src' make[1]: *** [Makefile:18989: all-recursive] Error 1 make[1]: Leaving directory '/home/user/gui/src' make: *** [Makefile:798: all-recursive] Error 1

Rspigler avatar Apr 30 '21 22:04 Rspigler

~~Still getting errors trying to compile~~ Duh

Rspigler avatar Dec 21 '21 23:12 Rspigler

Rebased, reviews addressed

luke-jr avatar Mar 23 '22 20:03 luke-jr

Sorry for a lot of "n/a's" @luke-jr , I guess I need to up my diff reading game...

Talkless avatar Mar 28 '22 17:03 Talkless

🐙 This pull request conflicts with the target branch and needs rebase.

Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft".

DrahtBot avatar Jun 15 '22 07:06 DrahtBot

tACK 75aff9e0ff7f98a5ec64d18641a9654ab5b09cdc Simple, I like the language, and I think it is an important setting the user should set

Rspigler avatar Jun 19 '22 17:06 Rspigler

Concept ACK, this choice seems sufficiently important to me to expose in the GUI.

laanwj avatar Jun 20 '22 08:06 laanwj

Rebased

luke-jr avatar Nov 15 '22 05:11 luke-jr

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

DrahtBot avatar Nov 15 '22 23:11 DrahtBot