SHA256
Обновить лицензии, исторический HEADER и ссылки CORE/CONTENT
This commit is contained in:
@@ -39,7 +39,7 @@ test('existing body factories produce exact independent signed pair; ordinal is
|
||||
assert.equal(inspection.frame.blockNumber,core.blockNumber);assert.equal(inspection.frame.type,content.type);
|
||||
assert.deepEqual(Buffer.from(inspection.frame.bodyBytes),Buffer.from(content.body));
|
||||
if(core.line) assert.equal(inspection.frame.body.line.lineSequence,42);
|
||||
if(core.blockNumber===0) assert.match(inspection.frame.body.license,/^licenses:CC-BY-NC-4\.0\/sha256:/);
|
||||
if(core.blockNumber===0) assert.match(inspection.frame.body.license,/^public-content-license-grant:.*Licenses:CC-BY-NC-4\.0\/sha256:.*;SHiNE-CDL-1\.0\/sha256:/);
|
||||
}
|
||||
});
|
||||
test('lost response: retransmit the identical signed container, then confirm canonical bytes',async()=>{
|
||||
|
||||
Reference in New Issue
Block a user