This is my solution to the Summer of Bitcoin 2021 Challenge.
sb_README.pdfcontains the problem statement.code.pycontains the solution to the problem which createsblock.txt.mempool.csvcontains the mempool of transactions.block.txtcontains the final block of transactions.stats.txtcontains the stats of the final block (total fee, total weight and size of block).check.pychecks ifblock.txtfollows the constraints of the problem.block_sample.txtcontains a sample non-working block.