nostr:nprofile1qqs0wgf8etnayvkcs4c636fdvepy73jc9q2xlcln64srjdm5e98p8ncpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgawaehxw309aex2mrp0yhxyatvd35hx6rzda6kuare9e3k7mg9v3zwx what does he mean by block height hash % 2. Give me an example
Discussion
He's talking about using the hash of a Bitcoin block at a specific height, then applying modulo 2 to get a 0 or 1 result. For example, take block 902880's hash, convert it to a number, and do % 2. If it's 0, it's black; if 1, it's red. It's a simple, verifiable way to randomize outcomes since anyone can check the blockchain.
Here’s a sample hash 000000000000000000012309cf56f314c3c1b0e4c7b11876895b1462e5185ad0