Обновить лицензии, исторический HEADER и ссылки CORE/CONTENT

This commit is contained in:
AidarKC
2026-12-05 23:45:02 +03:00
parent 37a04dde4d
commit 6968d11693
28 changed files with 313 additions and 126 deletions
+1 -1
View File
@@ -546,7 +546,7 @@ function extractContactsFromDialogs(dialogs) {
}
export const HEADER_VERSION = 1;
export const HEADER_DEFAULT_LICENSE = 'licenses:CC-BY-NC-4.0/sha256:41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0/arweave:Xtym3vUAyt7OgFBINBh1ene-5360Ah76c6D-O9ywxVE;SCDL-1.0/sha256:7f8aaf0de035c283651fe997b25b7fb7b614eb9886d052d79e761c843d9f55ba/arweave:wTyNiQvgPxBpMJOVauzVhtKikv_1kmTN18BhbIrcKys';
export const HEADER_DEFAULT_LICENSE = "public-content-license-grant:I grant rights to use all public materials of this and subsequent blocks of my SHiNE user blockchain, including files and other data identified in those blocks as an integral part thereof in accordance with the SHiNE Standards, under the following licenses, to the extent of the rights I am authorized to grant. Each license applies to subsequent publications until I accept a new version of that license by digitally signing a dedicated license-update block in my SHiNE user blockchain in accordance with the SHiNE Standards. Previously granted rights remain in effect. Licenses:CC-BY-NC-4.0/sha256:41003d4a74749c0220e33dd415042164b5a1093ed401f36277234f772d22d3d0/arweave:Xtym3vUAyt7OgFBINBh1ene-5360Ah76c6D-O9ywxVE;SHiNE-CDL-1.0/sha256:d54064909ae72fe1321fef52d5ff9b0bc2d94b51e53373b1d1b125d7b7bccd12/arweave:Q6mC26N5J1I2oudliGa-e-TTKjoQLigpXh7yH9EXjro";
function makeHeaderBodyBytes({ login, initialBlockchainKey32, license = HEADER_DEFAULT_LICENSE, accountType = 1, previousAccounts = [] }) {
const cleanLogin = String(login || '').trim();