mirror of
https://github.com/codex-storage/das-research.git
synced 2025-02-21 15:28:09 +00:00
Starting code documentation
This commit is contained in:
parent
5c55fd7854
commit
cf780b3ca3
@ -5,7 +5,7 @@ from bitarray import bitarray
|
||||
from bitarray.util import zeros
|
||||
|
||||
class Block:
|
||||
|
||||
"""This class represents a block in the Ethereum blockchain"""
|
||||
|
||||
def __init__(self, blockSize):
|
||||
self.blockSize = blockSize
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
import logging
|
||||
|
||||
class CustomFormatter(logging.Formatter):
|
||||
class CustomFormatter():
|
||||
"""This class defines the terminal output formatting."""
|
||||
|
||||
blue = "\x1b[34;20m"
|
||||
grey = "\x1b[38;20m"
|
||||
|
@ -6,6 +6,13 @@
|
||||
Welcome to DAS simulator's documentation!
|
||||
=========================================
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Contents:
|
||||
@ -34,9 +41,4 @@ Welcome to DAS simulator's documentation!
|
||||
.. automodule:: validator
|
||||
:members:
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
|
Loading…
x
Reference in New Issue
Block a user