benogl on Nostr: Yes, longest chain is determined by chain with most "chainwork". Chainwork is ...
Published at
2023-03-02 08:50:14Event JSON
{
"id": "fac1e06cf01504a2daa793d53af9cf4e4d8142047f4fb0c928caf1a129c12224",
"pubkey": "5d160957c5c8e3a4ee7825e9eea7a5f3be25aa2b26f9ecf2a16ecc504365ae4b",
"created_at": 1677747014,
"kind": 1,
"tags": [
[
"e",
"6f22e56acc00297e30d65af2acfaab86ca06aa5061d86b52239e4f461cba8b33"
],
[
"p",
"4ed0ee141a952ee1d7385105d9d8935470d7e117e044d08d3d28f3865adc8671"
]
],
"content": "Yes, longest chain is determined by chain with most \"chainwork\". Chainwork is calculated by dividing max value by the blocks target value. Calculate this for all blocks and add them up, the longest chain will have the biggest aggregate chainwork value: https://learnmeabitcoin.com/technical/longest-chain#:~:text=What%20is%20the%20longest%20chain,a%20new%20block%20requires%20energy.",
"sig": "13c187f3767dfa35f7b23bbe90b5035c9dd31548476bd494d77c5cb123c8ceba7f02ba8551494fca515eccfb5c663ff2fdb9a8eee69e0c79a8b45682711584f2"
}