Jeff Garzik [ARCHIVE] on Nostr: 📅 Original date posted:2011-06-16 🗒️ Summary of this message: Scaling-up ...
📅 Original date posted:2011-06-16
🗒️ Summary of this message: Scaling-up issues, wallet security, and unit testing framework are critical needs for Bitcoin. Testing in the field is more effective than unit testing.
📝 Original message:On Thu, Jun 16, 2011 at 12:32 PM, Gavin Andresen
<gavinandresen at gmail.com> wrote:
> 1) Scaling-up issues, like disconnections when downloading the block chain.
>
> 2) Wallet security.
Agreed, though security professionals (and luke-jr) are already
pointing out the wallet crypto mainly eliminates a bit of bad PR,
rather than being a major crime deterrent.
zooko on IRC had a pretty good suggestion: introduce a built-in
facility for air-gapped wallets (multiple wallets), so that loss of
your everyday transactional wallet does not mean loss of everything.
You can do this manually, but we need something for all the people who
(a) don't know crypto, and (b) simply download and run the client
without thinking much about security.
> 3) Unit testing framework. There was a PULL that had the start of
> boost unit tests; I think that is a critical need, along with a good
> suite of test cases.
Three points, on testing:
T1) autotools has a minimal testing framework built into it. "make
check" builds, and then runs tests. Each test is a program or script,
that returns 0 on success and 1 on failure. "make distcheck" builds,
runs tests, and then creates the distribution tarball if the tests
succeed.
T2) I wouldn't narrow the focus to "unit tests", as stress tests and
other comprehensive, automated tests are quite useful as well
but most importantly...
T3) Don't hold v0.4 release for this. As we say in kernel-land, we
have a test lab called "the internet" Test suites have clear software
engineering value, but they largely "guard the past" -- making sure
you don't repeat past mistakes, rather than being a good indicator of
possible upcoming problems. The best testing is always in the field.
That always finds more problems than unit testing ever does.
--
Jeff Garzik
exMULTI, Inc.
jgarzik at exmulti.com
Published at
2023-06-07 01:56:31Event JSON
{
"id": "42b8492d5d1d852896ecba6ac42fc5047e90bfea06279d1e640fd8759bd16ef3",
"pubkey": "b25e10e25d470d9b215521b50da0dfe7a209bec7fedeb53860c3e180ffdc8c11",
"created_at": 1686102991,
"kind": 1,
"tags": [
[
"e",
"ad0053a9c9494512d644454ba644ec369e208042b63093444f65c2eaa9d184c3",
"",
"root"
],
[
"e",
"e9afd7d69421b585c03e4237acfbc6dafd05ddc820126046fdad7d89703b528e",
"",
"reply"
],
[
"p",
"6ac6a519b554d8ff726a301e3daec0b489f443793778feccc6ea7a536f7354f1"
]
],
"content": "📅 Original date posted:2011-06-16\n🗒️ Summary of this message: Scaling-up issues, wallet security, and unit testing framework are critical needs for Bitcoin. Testing in the field is more effective than unit testing.\n📝 Original message:On Thu, Jun 16, 2011 at 12:32 PM, Gavin Andresen\n\u003cgavinandresen at gmail.com\u003e wrote:\n\u003e 1) Scaling-up issues, like disconnections when downloading the block chain.\n\u003e\n\u003e 2) Wallet security.\n\nAgreed, though security professionals (and luke-jr) are already\npointing out the wallet crypto mainly eliminates a bit of bad PR,\nrather than being a major crime deterrent.\n\nzooko on IRC had a pretty good suggestion: introduce a built-in\nfacility for air-gapped wallets (multiple wallets), so that loss of\nyour everyday transactional wallet does not mean loss of everything.\n\nYou can do this manually, but we need something for all the people who\n(a) don't know crypto, and (b) simply download and run the client\nwithout thinking much about security.\n\n\n\u003e 3) Unit testing framework. There was a PULL that had the start of\n\u003e boost unit tests; I think that is a critical need, along with a good\n\u003e suite of test cases.\n\nThree points, on testing:\n\nT1) autotools has a minimal testing framework built into it. \"make\ncheck\" builds, and then runs tests. Each test is a program or script,\nthat returns 0 on success and 1 on failure. \"make distcheck\" builds,\nruns tests, and then creates the distribution tarball if the tests\nsucceed.\n\nT2) I wouldn't narrow the focus to \"unit tests\", as stress tests and\nother comprehensive, automated tests are quite useful as well\n\nbut most importantly...\n\nT3) Don't hold v0.4 release for this. As we say in kernel-land, we\nhave a test lab called \"the internet\" Test suites have clear software\nengineering value, but they largely \"guard the past\" -- making sure\nyou don't repeat past mistakes, rather than being a good indicator of\npossible upcoming problems. The best testing is always in the field.\nThat always finds more problems than unit testing ever does.\n\n-- \nJeff Garzik\nexMULTI, Inc.\njgarzik at exmulti.com",
"sig": "620fb1566393c4c8e3b622349a7515db44d8cf5f6c6f9edafce0ee1db494aba6405705ec4f6ae5a5b4d495b862ea6153ffd5c31a512c8b6ee64df752940a4f17"
}