Bitcoin Random Number Generator

버전 1.0.0 (14.9 KB) 작성자: Moeti Ncube
Pulls the latest Bitcoin block hashes & processes it through a hash function to obtain a binary output (either 0 or 1),
다운로드 수: 22
업데이트 날짜: 2023/6/1

라이선스 보기

This code (bitcoin.m) allows you to generate random binary numbers using the latest bitcoin block hashes.
The codes allows you to pull in a string (currently set at 5) of randomly generated numbers for hashes started from the most recent bitcoin block size. There is a limit placed on api pulls by website servers.
This codes uses two independent sites (current set to pull from blockcypher.com...but changing ind_blockcypher value from 1 to 0 will have code pull data from blockchain.info) to pull in bitcoin hashes for verification purposes.
The numbers generated should perfectly match regardless of sources used.
The bitcoin blockchain hashes which are generated every 10 minutes provides the user with a globally accessible provably fair source of randonmess that can be used to replicate a random walk.

인용 양식

Moeti Ncube (2024). Bitcoin Random Number Generator (https://www.mathworks.com/matlabcentral/fileexchange/130384-bitcoin-random-number-generator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2023a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0