Разделить среды и закрепить лицензии в HEADER 1.0

This commit is contained in:
AidarKC
2026-12-05 11:42:20 +03:00
parent a64168a748
commit 77c7021aed
89 changed files with 4204 additions and 211 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ public class M5_FORK_CHECK {
check(Arrays.equals(fork.prevLineHash32,hex.parseHex(history.get(fork.prevLineNumber+1).split("\t")[3])));
check(fork.reasonCode==3 && fork.comment.equals("test\nFORK"));
check(fork.forkPointTimestampMs==(1700000000L+cutoff)*1000 && fork.parentTipTimestampMs==1700000007000L);
check(b.getCoreDataItem().hasTag("App","test5595"));
check(b.getCoreDataItem().hasTag("App","test5570"));
byte[] bad=raw.clone();bad[bad.length-1]^=1;
try {BchBlockEntry.fromCoreContent(bad);throw new AssertionError("tampering accepted");} catch(IllegalArgumentException expected){}
count++;