Skip to content

Commit

Permalink
xlwc-0.9.2a
Browse files Browse the repository at this point in the history
updated to latest IxiCore
  • Loading branch information
IxiAngel committed Apr 3, 2024
1 parent 8dff823 commit 5b8acf8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion IxianLiteWallet/Meta/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Config
public static string walletFile = "ixian.wal";
public static bool onlyShowAddresses = false;

public static readonly string version = "xlwc-0.9.1"; // LiteWallet version
public static readonly string version = "xlwc-0.9.2a"; // LiteWallet version

private static string outputHelp()
{
Expand Down
28 changes: 28 additions & 0 deletions IxianLiteWallet/Meta/Node.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using IXICore;
using IXICore.Meta;
using IXICore.Network;
using IXICore.RegNames;
using IXICore.Utils;
using LW.Network;
using System;
Expand Down Expand Up @@ -458,5 +459,32 @@ public override IxiNumber getMinSignerPowDifficulty(ulong blockNum)
// TODO TODO implement this properly
return ConsensusConfig.minBlockSignerPowDifficulty;
}


public override byte[] getBlockHash(ulong blockNum)
{
Block b = getBlockHeader(blockNum);
if (b == null)
{
return null;
}

return b.blockChecksum;
}

public override byte[] calculateRegNameChecksumFromUpdatedDataRecords(byte[] name, List<RegisteredNameDataRecord> dataRecords, ulong sequence, Address nextPkHash)
{
throw new NotImplementedException();
}

public override byte[] calculateRegNameChecksumForRecovery(byte[] name, Address recoveryHash, ulong sequence, Address nextPkHash)
{
throw new NotImplementedException();
}

public override RegisteredNameRecord getRegName(byte[] name, bool useAbsoluteId)
{
throw new NotImplementedException();
}
}
}

0 comments on commit 5b8acf8

Please sign in to comment.