time<\/strong> \n<\/pre>\n\n\n\nCPU times: user 2 \u00b5s, sys: 2 \u00b5s, total: 4 \u00b5s\nWall time: 9.54 \u00b5s\n<\/pre>\n\n\n\nIn [2]:<\/p>\n\n\n\n
# The block height of the chain used in this Notebook<\/em>\nprint(len(chain))\n<\/pre>\n\n\n\n685964\n<\/pre>\n\n\n\nIn [3]:<\/p>\n\n\n\n
# List blocks mined as OFAC Compliant<\/em>\nofac_blocks_list =<\/strong> []\nsum_fees_ofac_blocks =<\/strong> 0\nnr_trans_ofac_blocks =<\/strong> 0\n\n\nfor<\/strong> x in<\/strong> chain :\n if<\/strong> \"OFAC\" in<\/strong> str(x.<\/strong>coinbase_param) :\n print (\" Height:\", x.<\/strong>height, \"TimeStamp:\", x.<\/strong>time,\"Fees:\", x.<\/strong>fee\/<\/strong>1e08)\n ofac_blocks_list.<\/strong>append(x)\n sum_fees_ofac_blocks +=<\/strong> x.<\/strong>fee\n nr_trans_ofac_blocks +=<\/strong> x.<\/strong>tx_count\n \nprint(\"Number of OFAC Compliant blocks found: \", len(ofac_blocks_list)) \nprint(\"Median fee per OFAC block: \", (sum_fees_ofac_blocks\/<\/strong> len(ofac_blocks_list)\/<\/strong>1e8), \"bitcoin\")\nprint(\"Median Number of transactions per block (OFAC) \", nr_trans_ofac_blocks \/<\/strong> len(ofac_blocks_list))\n<\/pre>\n\n\n\n Height: 682170 TimeStamp: 2021-05-06 04:50:11 Fees: 0.05095356\n Height: 682472 TimeStamp: 2021-05-07 23:33:02 Fees: 0.46791246\n Height: 682537 TimeStamp: 2021-05-08 08:06:18 Fees: 0.92199734\n Height: 682593 TimeStamp: 2021-05-08 15:41:26 Fees: 0.14279267\n Height: 682816 TimeStamp: 2021-05-09 21:04:43 Fees: 0.96328865\n Height: 682843 TimeStamp: 2021-05-10 01:01:38 Fees: 0.48400948\n Height: 683315 TimeStamp: 2021-05-12 18:33:06 Fees: 0.27102372\n Height: 683394 TimeStamp: 2021-05-13 05:13:57 Fees: 0.04922775\n Height: 683412 TimeStamp: 2021-05-13 07:31:29 Fees: 0.17891398\n Height: 683526 TimeStamp: 2021-05-14 01:06:37 Fees: 0.31408185\n Height: 683596 TimeStamp: 2021-05-14 16:51:02 Fees: 1.03762463\n Height: 683628 TimeStamp: 2021-05-14 20:52:54 Fees: 0.70197438\n Height: 683811 TimeStamp: 2021-05-16 06:27:42 Fees: 0.3664704\n Height: 684152 TimeStamp: 2021-05-19 04:22:49 Fees: 0.74019458\n Height: 684217 TimeStamp: 2021-05-19 17:31:21 Fees: 1.11437835\n Height: 684308 TimeStamp: 2021-05-20 12:05:41 Fees: 1.14902694\n Height: 684329 TimeStamp: 2021-05-20 16:41:38 Fees: 1.16243244\n Height: 684509 TimeStamp: 2021-05-22 09:09:06 Fees: 0.79709421\n Height: 684550 TimeStamp: 2021-05-22 14:48:11 Fees: 0.90005206\n Height: 684621 TimeStamp: 2021-05-23 05:57:14 Fees: 0.32440476\n Height: 684842 TimeStamp: 2021-05-25 01:05:54 Fees: 0.10884603\n Height: 684852 TimeStamp: 2021-05-25 03:06:25 Fees: 0.13680179\n Height: 685031 TimeStamp: 2021-05-26 14:47:00 Fees: 0.24858622\n Height: 685221 TimeStamp: 2021-05-28 03:55:18 Fees: 0.17645753\n Height: 685437 TimeStamp: 2021-05-30 00:25:26 Fees: 0.16853315\n Height: 685487 TimeStamp: 2021-05-30 08:18:27 Fees: 0.18786433\n Height: 685550 TimeStamp: 2021-05-30 18:34:27 Fees: 0.08601165\n Height: 685659 TimeStamp: 2021-05-31 14:19:50 Fees: 0.64959816\n Height: 685818 TimeStamp: 2021-06-01 16:07:33 Fees: 0.65760579\n Height: 685884 TimeStamp: 2021-06-02 04:28:10 Fees: 0.30919456\n Height: 685951 TimeStamp: 2021-06-02 12:32:57 Fees: 0.49884389\nNumber of OFAC Compliant blocks found: 31\nMedian fee per OFAC block: 0.4956837841935484 bitcoin\nMedian Number of transactions per block (OFAC) 1635.0645161290322\n<\/pre>\n\n\n\nIn [8]:<\/p>\n\n\n\n
non_ofac_blocks_list =<\/strong> []\nsum_fees_no_ofac_blocks =<\/strong> 0\nnr_trans_non_ofac_blocks =<\/strong> 0\nmedian_fees_ofac_blocks =<\/strong> 0\nmedian_fees_non_ofac_blocks =<\/strong> 0\n\nfor<\/strong> i in<\/strong> range(682170, 685543) :\n if<\/strong> not<\/strong> \"OFAC\" in<\/strong> str(x.<\/strong>coinbase_param) :\n sum_fees_no_ofac_blocks =<\/strong> sum_fees_no_ofac_blocks +<\/strong> chain[i].<\/strong>fee\n non_ofac_blocks_list.<\/strong>append(x)\n nr_trans_non_ofac_blocks +=<\/strong> chain[i].<\/strong>tx_count\n \nmedian_fees_ofac_blocks =<\/strong> (sum_fees_ofac_blocks\/<\/strong> len(ofac_blocks_list)\/<\/strong>1e8)\nmedian_fees_non_ofac_blocks =<\/strong> (sum_fees_no_ofac_blocks \/<\/strong> len(non_ofac_blocks_list))\/<\/strong>1e8\n\nofac_nr =<\/strong> len(ofac_blocks_list)\nnon_ofac_nr =<\/strong> len(non_ofac_blocks_list)\n\nprint(\"OFAC Compliant blocks:\", ofac_nr)\nprint(\"Non-OFAC Compliant blocks\", non_ofac_nr)\n \nprint(\"Number of non-OFAC Compliant blocks found: \", len(non_ofac_blocks_list)) \nprint(\"Number of OFAC Compliant blocks found:\", len(ofac_blocks_list))\nprint(\"Percent of OFAC Compliant blocks vs. non-OFAC:\", ((ofac_nr \/<\/strong> non_ofac_nr)*<\/strong>100), \"%\") \nprint(\"Median fees per non OFAC block: \", sum_fees_no_ofac_blocks \/<\/strong> len(non_ofac_blocks_list)\/<\/strong>1e8 , \"bitcoin\")\nprint(\"Median fees per OFAC block: \", sum_fees_ofac_blocks \/<\/strong> len(ofac_blocks_list)\/<\/strong>1e8 , \"bitcoin\")\nprint(\"Median Number of transactions per block OFAC Block:\", (nr_trans_non_ofac_blocks \/<\/strong> len(non_ofac_blocks_list)) )\nprint(\"Median Number of transactions per block (non-OFAC) \", (nr_trans_ofac_blocks \/<\/strong> len(ofac_blocks_list)) )\nprint(\"Non OFAC blocks have median \", (((nr_trans_non_ofac_blocks \/<\/strong> len(non_ofac_blocks_list)) \/<\/strong> (nr_trans_ofac_blocks \/<\/strong> len(ofac_blocks_list))) *<\/strong> 100), \" more transactions per block\")\nprint(\"And median more\", ((median_fees_non_ofac_blocks -<\/strong> median_fees_ofac_blocks)), \" bitcoin fees per block.\")\n<\/pre>\n\n\n\nOFAC Compliant blocks: 31\nNon-OFAC Compliant blocks 3373\nNumber of non-OFAC Compliant blocks found: 3373\nNumber of OFAC Compliant blocks found: 31\nPercent of OFAC Compliant blocks vs. non-OFAC: 0.9190631485324637 %\nMedian fees per non OFAC block: 0.6100702352297658 bitcoin\nMedian fees per OFAC block: 0.4956837841935484 bitcoin\nMedian Number of transactions per block OFAC Block: 1796.6243699970353\nMedian Number of transactions per block (non-OFAC) 1635.0645161290322\nNon OFAC blocks have median 109.88094673172233 more transactions per block\nAnd median more 0.11438645103621736 bitcoin fees per block.\n<\/pre>\n\n\n\nDo you want to have access to blockchain analysis? Register at PlutoHash here: www.plutohash.com\/beta and join the fray! Don’t forget to smile!In [ ]:<\/p>\n\n\n\n
<\/pre>\n","protected":false},"excerpt":{"rendered":"Marathon Digital Holdings gives in and adopts Taproot From the 6th of May 2021 MARA Pool mined censored blocks in the Bitcoin Blockchain. They were declared as OFAC Compliant. It was noted that some transaction, despite the filters, were coming from transaction traceable to Hydra. The real funny thing is that in order to fight …<\/p>\n
Marathon Digital Holdings gives in and adopts Taproot<\/span> Read More »<\/a><\/p>\n","protected":false},"author":3,"featured_media":238,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[6],"yoast_head":"\nMarathon Digital Holdings gives in and adopts Taproot - PlutoHash<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n \n \n \n \n\t \n\t \n\t \n