IP Library Granted Patent US 12,095,922
Granted Patent B1
US 12,095,922 · App. 18/312,101 · Granted Sep 17, 2024

System and method for bitcoin mining with reduced power

Inventor: David A. Carlson (Haslet, TX)
Assignee: Marvell Asia Pte, Ltd.
H04L9/3236G06F21/76G06Q20/0658H04L9/50H04L2209/56
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,095,922
App. No.
18/312,101
Granted
Sep 17, 2024
Kind
B1
Abstract

A circuit and corresponding method enable bitcoin mining in a blockchain network. The circuit comprises a nonce generator that generates a nonce value, on a cycle-by-cycle basis, and changes only one binary digit of the nonce value per cycle. The circuit further comprises a hash engine that inserts, on the cycle-by-cycle basis, the nonce value into a block header of a block candidate and generates a digest by applying a hash function to the block header. The block header includes a representation of a target value. The circuit further comprises a validator that compares, on the cycle-by-cycle basis, the digest to the target value. In an event the digest satisfies the target value, the validator submits the block candidate to the blockchain network, causing newly minted bitcoin to be mined from the blockchain network. Changing only one binary digit of the nonce value, per cycle, reduces power consumption of the circuit.

Claims (25)

1. A circuit comprising:

a nonce generator configured to generate a gray code;

a hash engine configured to insert the gray code as a nonce value into a block header of a block candidate and generate a digest by applying a hash function to the block header, the block header including a representation of a target value; and

a validator circuit configured to compare the digest to the target value and, in an event the digest satisfies the target value, submit the block candidate with the gray code as the nonce value to a blockchain network.

2. The circuit of claim 1 , wherein the nonce generator is a gray code counter and wherein the nonce value is a 32-bit gray code value output from the gray code counter.

3. The circuit of claim 1 , wherein, to apply the hash function to the block header, the hash engine is further configured to:

compute a first hash value by hashing the block header via the hash function; and

compute a second hash value by hashing the first hash value via the hash function, wherein the digest is the second hash value.

4. The circuit of claim 1 , wherein a length of the digest is 256 bits.

5. The circuit of claim 1 , wherein, the validator circuit is further configured to convert the representation to the target value and, in an event the digest is less than or equal to the target value, the validator circuit is further configured to conclude that the digest satisfies the target value based on comparing the digest to the target value.

6. The circuit of claim 1 , further comprising a reset controller configured to reset the nonce generator in the event the validator circuit concludes that the digest satisfies the target value.

7. The circuit of claim 5 , wherein the circuit further comprises a block generator configured to generate the block candidate for input to the hash engine and, in the event the validator circuit concludes that the digest satisfies the target value, the block generator is further configured to change the block candidate generated to a different block candidate for use by the hash engine.

8. A method comprising:

generating a gray code;

inserting the gray code generated as a nonce value into a block header of a block candidate and generating a digest by applying a hash function to the block header, the block header including a representation of a target value; and

comparing the digest to the target value and, in an event the digest satisfies the target value, submitting the block candidate with the gray code as the nonce value to a blockchain network.

9. The method of claim 8 , wherein the generating includes incrementing a gray code counter and wherein the nonce value is a 32-bit gray code value output from the gray code counter.

10. The method of claim 8 , wherein the generating consumes less power relative to generating the nonce value via a binary counter.

11. The method of claim 8 , wherein applying the hash function includes:

computing a first hash value by hashing the block header via the hash function; and

computing a second hash value by hashing the first hash value via the hash function, wherein the digest is the second hash value.

12. The method of claim 8 , wherein a length of the digest is 256 bits.

13. The method of claim 8 , further comprising converting the representation to the target value and wherein, in an event the digest is less than or equal to the target value, the comparing includes concluding that the digest satisfies the target value.

14. The method of claim 8 , further comprising resetting the nonce generator in the event the digest satisfies the target value.

15. The method of claim 8 , wherein the method further comprises generating the block candidate and, in the event the digest satisfies the target value, changing the block candidate generated to a different block candidate for the inserting.

Continuity (1)
Continuation 16447865 · Jun 20, 2019
Cited By (2)
US 12,261,939 US 12,647,273