New answers tagged

1

Some useful sources on this: here and here A summary of those sources turns up that Go's garbage collector basically stores up to twice the memory allocated as garbage. The limit shouldn't be at 32118MB, it should be at half your memory. Since you mention that you've got 96GB, though, this raises some questions. Is it possible that you've got some ~30GB of ...


0

privatekeyPointer, err := crypto.HexToECDSA(privatekey) message := "tokenXYZ,amount=10,price=1.23" prefix := "\x19Ethereum Signed Message\n" preSigned := prefix + strconv.Itoa(len(message)) + message hashedMesg := crypto.Keccak256Hash([]byte(preSigned)) signatureBytes, err := crypto.Sign(hashedMesg.Bytes(), privatekeyPointer) r := signatureBytes[:32] s := ...


Top 50 recent answers are included