Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [endianness]

The tag has no usage guidance.

1
vote
2answers
126 views

What are the hashes in Unspent outputs?

I am a newbie to Bitcoin. Looking at curl https://blockchain.info/unspent?active=1Cdid9KFAaatwczBwBttQcwXYCpvK8h7FK I guess that the script is the owner's address.I am not sure about this. "...
2
votes
0answers
104 views

Is my understanding of Blockhain Endianness correct?

I know questions on this topic have been asked to death in a number of different ways. I also know that what endian order refers to specifically is dependent on context. What I want are some ...
3
votes
2answers
210 views

What is Bitcoin's “genesis hash”?

From Lightning Network documentation: Used in several of the BOLT documents to denote the genesis hash of a target blockchain. This allows nodes to create and reference channels on several ...
3
votes
1answer
444 views

How does the satoshi client handle endianness?

I'm looking through the source code of the satoshi client, particularly into how transactions are serialized and sent through the network or stored to the disk. The CTransaction class has this block: ...
3
votes
1answer
159 views

What was the intended benefit of truncating the Target?

I'm thinking about how the Target value is truncated to and later compared to the SHA-256hash of the Block Header. Given that The maximum target (lowest possible difficulty) is ...
7
votes
1answer
3k views

How does a miner perform hashing?

I'm trying to walk my way through the process by which a miner hashes. Let's say the getwork request returns a data field of: ...
3
votes
1answer
1k views

How is the endian conversion done?

This answer seems simple, but I'm finding mixed answers. This question describes the conversion from little-endian to big-endian hex strings (or vice-versa) as switching the order of bytes in every ...
1
vote
2answers
134 views

Proper getmemorypool data endianness?

As there are a couple endiannesses used by Bitcoin, what is the proper way to encode the data parameter for a getmemorypool JSON API call?
2
votes
1answer
272 views

Getwork and GetMemoryPool - why is previous block hash different?

When I called: print bitcoin.getmemorypool() print bitcoin.getwork() using Python JSON for a testnet BitcoinQT server, I got the following responces: {'previousblockhash': '...