SHA256
WIP: кошелек запускается, но есть ошибки
This commit is contained in:
-1
@@ -91,7 +91,6 @@ public class Net_GetUser_Handler implements JsonMessageHandler {
|
||||
resp.setServerLastGlobalHash(toHex32(lastHash));
|
||||
resp.setServerBlockchainSizeBytes(st.getFileSizeBytes());
|
||||
resp.setServerBlockchainSizeLimitBytes(st.getSizeLimit());
|
||||
resp.setServerBlocksCount(Math.max(0, lastNum + 1));
|
||||
|
||||
log.info("✅ GetUser: found login={}, blockchainName={}", u.getLogin(), u.getBlockchainName());
|
||||
return resp;
|
||||
|
||||
-3
@@ -43,7 +43,6 @@ public class Net_GetUser_Response extends Net_Response {
|
||||
private String serverLastGlobalHash;
|
||||
private Long serverBlockchainSizeBytes;
|
||||
private Long serverBlockchainSizeLimitBytes;
|
||||
private Integer serverBlocksCount;
|
||||
|
||||
public Boolean getExists() { return exists; }
|
||||
public void setExists(Boolean exists) { this.exists = exists; }
|
||||
@@ -75,6 +74,4 @@ public class Net_GetUser_Response extends Net_Response {
|
||||
public Long getServerBlockchainSizeLimitBytes() { return serverBlockchainSizeLimitBytes; }
|
||||
public void setServerBlockchainSizeLimitBytes(Long serverBlockchainSizeLimitBytes) { this.serverBlockchainSizeLimitBytes = serverBlockchainSizeLimitBytes; }
|
||||
|
||||
public Integer getServerBlocksCount() { return serverBlocksCount; }
|
||||
public void setServerBlocksCount(Integer serverBlocksCount) { this.serverBlocksCount = serverBlocksCount; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user