Search

Search forum posts.

No exact matches; showing possible matches for ‘Bitcoin wallet testing’.

Showing results 1–10 of 16 (most recent first)

Results per page
‹ Previous

Post #131

Bitcoin Transaction Test Set

http://edgecase.net/articles/bitcoin_transaction_test_set_2 This article contains 16 Bitcoin transactions, with 1-3 inputs and 1-3 outputs. All transactions …

http://edgecase.net/articles/bitcoin_transaction_test_set_2

This article contains 16 Bitcoin transactions, with 1-3 inputs and 1-3 outputs.

All transactions are onchain - and thereby confirmed to be completely valid (there is no higher level of validation). You can take each txid and look it up in a block explorer.

Private keys are included. All addresses are Pay-To-Public-Key-Hash (P2PKH).

I published it on 2020-12-19.

A Bitcoin transaction is a complicated object. Getting one of its aspects wrong can produce a transaction that looks plausible but is invalid, or worse, valid in a way the developer did not intend.

The value of a test set like this is that it gives a developer something fixed and confirmed-true to compare against. You can run your code against known cases and check whether it produces the expected transaction IDs, signatures, serialized bytes, or decoded fields.

Post #136

Provision: a bitcoin wallet

Provision is a bitcoin wallet based on three concepts: - all secure operations performed on an air-gapped machine - all products transported by USB drive to an…

Provision is a bitcoin wallet based on three concepts:
- all secure operations performed on an air-gapped machine
- all products transported by USB drive to an online machine
- guaranteed to have no entropy re-use

An air-gapped machine, or a machine that has never been connected to the internet, reduces the attack surface of the environment used to operate safely with bitcoin.

No secrets are ever placed on the USB drive, leaving everything secure on the offline machine.

Creating your own entropy, e.g. via rolling a die, is the most secure guarantee for cryptographic operations available.

Provision also enables secure message encryption and signing using the same underlying software as Bitcoin.

Written in pure Python with no third-party dependencies.

Code available upon request.

https://github.com/corporation-dev/readme

Post #114

The Origins of Bitcoin

Friday, August 22, 2008 4:38 PM 1) Satoshi Nakamoto to Wei Dai "I was very interested to read your b-money page. I'm getting ready to release a paper that ex…

Friday, August 22, 2008 4:38 PM
1) Satoshi Nakamoto to Wei Dai

"I was very interested to read your b-money page. I'm getting ready to release a paper that expands on your ideas into a complete working system."

2013-04-18
2) Adam Back posted to the BitcoinTalk forums a self-introduction mentioning that

"I believe it was me who got Wei Dai's b-money reference added to Satoshi's bitcoin paper when he emailed me about hashcash back in 2008"

"the actual bitcoin mining is basically my hashcash invention..."

3) bitcoin.org was registered on 2008-08-18.

4) b-money:
http://www.weidai.com/bmoney.txt

5) b-money was announced on the cypherpunks mailing list in 1998.
https://cypherpunks.venona.com/date/1998/11/msg00941.html

6) Adam Back's commentary on b-money:
https://cypherpunks.venona.com/date/1998/12/msg00203.html

Source:
Wei Dai/Satoshi Nakamoto 2009 Bitcoin emails
https://gwern.net/doc/bitcoin/2008-nakamoto

Post #169

Strategic Types for the 21st Century...

[excerpt from a convo on El Salvador] A thought: Honestly, El Salvador is one of the main strategic types this century. (Strategic type, as in Starcraft’s Zer…

[excerpt from a convo on El Salvador]

A thought: Honestly, El Salvador is one of the main strategic types this century. (Strategic type, as in Starcraft’s Zerg, Protoss, Terran -style types)

- Caesar (beloved)
- Bitcoin treasury (in-house)
- Christian Nationalist (i.e. “builder” civ structure)
- Non-Anglo (i.e. no inherent historic loyalty to the Anglo / American imperial structure)
- High-tech (drones, data centers, social media)
- Army composed of men who have lost family members to chaotic gang violence
- Ability to operate abroad (Haiti) and reason to do so (provides good practice)

Post #153

The Interesting Slow Death of Bitcoin Religion

The religious faith in Bitcoin is falling apart. There has been a loss of belief amongst the faithful. The once disciplined and morally-strong proponents of …

The religious faith in Bitcoin is falling apart.

There has been a loss of belief amongst the faithful.

The once disciplined and morally-strong proponents of Bitcoin have fallen away.

What remains are the Schillers and the false prophets.

The lesson:

Bitcoin was never a religion, it was tool. The original users tried to create a false religion based on decentralised transmission of value.

They tried to say they were morally superior. What will actually happen now is that those who are stronger, more disciplined, and in reality morally superior will replace them. They will harness Bitcoin not as a religion but as a tool.

Bitcoin is a tool and will be used as a means to an end.

As an example:

https://youtu.be/oyDkDNaxBzM?is=k_Ls7bdLCG2mGcWv

Post #130

Bitcoin v27.2 - Codebase Metrics

I analyzed the Bitcoin v27.2 codebase and found some general metrics about it. These tools & approaches for finding metrics can be used on other versions of…

I analyzed the Bitcoin v27.2 codebase and found some general metrics about it.

These tools & approaches for finding metrics can be used on other versions of the codebase, and on other repos.

https://telablog.com/bitcoin-v27-2-codebase-metrics

I wrote the draft as a text file, and (with Cursor) built a few Python scripts to:
- construct the article from the draft file + the prefix & suffix files.
- extract / deduce the title and the custom excerpt.
- push the article to the publishing platform via its API.
-- Notes:
--- This is idempotent: It doesn't create the article again if it already exists.
--- The body is one large pre-built markdown entry. This avoids the need to manually interact with the body in the editor.

Of interest: I used AI here to build & iterate on /deterministic/ tools (the Python scripts). I did /not/ try to build a processor that would use AI to indeterministically i.e. unreliably run the publishing action sequence.

Post #127

Bitcoin proof-of-work is a cyclic Burnham unresolved conflict

"The proof-of-work is a Hashcash style SHA-256 collision finding. It's a memoryless process where you do millions of hashes a second, with a small chance of f…

"The proof-of-work is a Hashcash style SHA-256 collision finding. It's a memoryless process where you do millions of hashes a second, with a small chance of finding one each time. The 3 or 4 fastest nodes' dominance would only be proportional to their share of the total CPU power. Anyone's chance of finding a solution at any time is proportional to their CPU power."

- Satoshi Nakamoto

He also refers to the proof-of-work as a "partial pre-image of zero", which is an interesting way to think about it.

https://www.metzdowd.com/pipermail/cryptography/2008-November/014858.html

"... Political freedom is the resultant of unresolved conflicts among various sections of the élite. The existence of these conflicts is in turn correlated with the interplay of diverse social forces... "

- James Burnham, The Machiavellians

So: Bitcoin produces a species of political freedom via a cyclic (by which I mean permanent & dynamic) Burnham unresolved conflict between its miners.

Post #126

Proof-of-Human

" The proof-of-work chain is a solution to the Byzantine Generals' Problem. ... The proof-of-work chain is how all the synchronisation, distributed da…

"

The proof-of-work chain is a solution to the Byzantine Generals' Problem.

...

The proof-of-work chain is how all the synchronisation, distributed database and global view problems you've asked about are solved.

"

- Satoshi

https://www.metzdowd.com/pipermail/cryptography/2008-November/014849.html

Proof-of-work is /the/ honest signal in the electronic network medium.

An honest signal is a signal that reliably imposed a cost on the sender.

Our societies are struggling at the moment with this unfortunate combination:

1) Our business and social lives are moving onto the Internet, due to the lack of friction of communication, which makes it cheaper than the alternatives.

2) Our ability to send honest signals via the Internet is diminishing due to this lack of friction, and also due to the use of AI to generate fake signals.

Ideally, we'd use proof-of-work to handle the problem of "proof-of-human". I.e. a reputation tree system, regularly timestamped on the Bitcoin blockchain.

Post #122

Issue: Quantum computers could break Bitcoin

Borges: What's your opinion, StJohn? StJohn Piano: If quantum computing can crack public keys, that means all modern banking systems have a really bad time. …

Borges: What's your opinion, StJohn?

StJohn Piano:

If quantum computing can crack public keys, that means all modern banking systems have a really bad time.

People always do the "quantum computing will be the end of Bitcoin" interpretative dance, but seem incapable of making the mental connection to the existing banking system, which also runs on cryptography.

Some version of this story has been published regularly since Bitcoin began.

A lot of it is clickbait: combine "quantum" and "Bitcoin" for maximum effect, with a side order of "haha Bitcoin is going to break you guys".

There's definitely a scenario where quantum computing becomes a problem for Bitcoin.

But focusing on Bitcoin here is remarkably shortsighted, because that scenario would be a nuclear wasteland for the rest of the financial and digital infrastructure as well.

Post #119

The central insight of Bitcoin

is that digital money requires credible history. Satoshi found that: - the central problem of digital money is the double-spending attack - the central requir…

is that digital money requires credible history.

Satoshi found that:
- the central problem of digital money is the double-spending attack
- the central requirement for a solution is a trustworthy source of transaction ordering - a timestamp server

From these two aspects flow these points in the Bitcoin whitepaper:

https://bitcoin.org/bitcoin.pdf

- "a peer-to-peer distributed timestamp server"

- "computational proof of the chronological order of transactions"

- "The system is secure as long as honest nodes collectively control more CPU power than any cooperating group of attacker nodes."

- "We define an electronic coin as a chain of digital signatures."

- "The only way to confirm the absence of a transaction is to be aware of all transactions."

- "To implement a distributed timestamp server on a peer-to-peer basis, we will need to use a proof-of-work system"

- "Proof-of-work is essentially one-CPU-one-vote."

- "Nodes always consider the longest chain to be the correct one"

‹ Previous