Function BlockStorage.addBlock

Adds a blocks to the storage. If the block already exists, the existing block's ID is returned instead without adding it again.

BlockInfo addBlock (
  ubyte[] Data
);