gitlab.com/SkynetLabs/skyd@v1.6.9/skymodules/renter/skynetblocklist/README.md (about)

     1  # Skynet Blocklist
     2  
     3  The Skynet Blocklist module manages a list of blocked Skylinks by tracking
     4  hashes of their merkleroots.
     5  
     6  ## Subsystems
     7  The following subsystems help the Skynet Blocklist module execute its
     8  responsibilities:
     9   - [Skynet Blocklist Subsystem](#skynet-blocklist-subsystem)
    10  
    11  ### Skynet Blocklist Subsystem
    12  **Key Files**
    13   - [skynetblocklist.go](./skynetblocklist.go)
    14  
    15  The Skynet Blocklist subsystem contains the structure of the Skynet Blocklist
    16  and is used to create a new Skynet Blocklist and return information about the
    17  Blocklist. Uses Persist package's Append-Only File subsystem to ensure ACID disk
    18  updates.
    19  
    20  **Exports**
    21   - `Blocklist` returns the list of hashes of the blocked merkle roots
    22   - `IsBlocked` returns whether or not a skylink merkleroot is blocked
    23   - `New` creates and returns a new Skynet Blocklist
    24   - `UpdateBlocklist` updates the blocklist