Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: guerrerocarlos/bitcoin-miner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: JSKitty/node-bitcoin-miner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 9 files changed
  • 1 contributor

Commits on Feb 2, 2022

  1. Bunch of sweet improvements!

    - Added Merkleroot calculations on-the-fly from raw TX list. - Added noble.js hashing algorithm (quicker than native!). - Swap from Int32LE to Uint32LE to handle higher target nonces. - Added "Progress Report" on an interval of hashes. - Added Difficulty measurements (BigNum) and init display. - Added block-hit estimations, hashrate monitor, etc. - Changed to prefer shorthanded code wherever possible. - Added benchmark timing statistics in Progress Reports. - Added some additional example blocks (old + new) to play with.
    JSKitty committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    dde0090 View commit details
    Browse the repository at this point in the history
  2. Limit nonce to the 4-byte Uint32 maximum

    No point in attempting to hash higher than the 4-byte limit!
    JSKitty committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    3f5d148 View commit details
    Browse the repository at this point in the history
  3. Light readme changes

    JSKitty authored Feb 2, 2022
    Configuration menu
    Copy the full SHA
    28bb4d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ebf876 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Swap to faster SHA256 library

    Long-term I'd like to write an even more efficient one, however with the test code I've wrote in the past 12h, none of it was consistently higher performance than this (which I have no clue why not!), so I'll stick to this for now!
    JSKitty committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    087e925 View commit details
    Browse the repository at this point in the history
Loading