Module: Sidetree::Params
- Defined in:
- lib/sidetree.rb
Defined Under Namespace
Modules: Network
Constant Summary collapse
- HASH_ALGORITHM =
Algorithm for generating hashes of protocol-related values. 0x12 = sha2-256
[0x12]
- HASH_ALGORITH_STRING =
"sha2-256"
- MAX_DELTA_SIZE =
Maximum canonicalized operation delta buffer size.
1000
- MAX_CHUNK_FILE_SIZE =
Maximum compressed chunk file size. 10MB.
10_000_000
- MAX_PROVISIONAL_INDEX_FILE_SIZE =
Maximum compressed Provisional Index File size. 1 MB (zipped)
1_000_000
- MAX_PROOF_FILE_SIZE =
Maximum compressed Proof File size. 2.5 MB (zipped)
2_500_000
- MAX_CORE_INDEX_FILE_SIZE =
Maximum compressed Core Index File size. 1 MB (zipped)
1_000_000
- MAX_WRITER_LOCK_ID_SIZE =
Maximum writer lock ID size
200
- MAX_CAS_URI_LENGTH =
Maximum length of CAS URIs. 100 bytes
100
- MAX_OPERATION_COUNT =
Maximum number of operations per batch. 10000 ops.
10_000
- DEFAULT_PUBKEY_TYPE =
Default public key type
"EcdsaSecp256k1VerificationKey2019"
- DEFAULT_METHOD =
Default DID method
"sidetree"
- METHODS =
Supported did methods.
{ default: DEFAULT_METHOD, ion: "ion" }
Class Method Summary collapse
Class Method Details
.network ⇒ Object
59 60 61 |
# File 'lib/sidetree.rb', line 59 def self.network @network end |
.network=(network) ⇒ Object
55 56 57 |
# File 'lib/sidetree.rb', line 55 def self.network=(network) @network = network end |