Tamperproofing utilities
Current State
CurrentState
returns the last state of the server.
state, err := client.CurrentState(ctx)
if err != nil {
log.Fatal(err)
}
fmt.Printf("current state is : %v", state)
ImmuState currState = immuClient.currentState();
System.out.printf("The current state is " + currState.toString());
This feature is not yet supported or not documented. Do you want to make a feature request or help out? Open an issue on Python sdk github project (opens new window)
import ImmudbClient from 'immudb-node'
const IMMUDB_HOST = '127.0.0.1'
const IMMUDB_PORT = '3322'
const IMMUDB_USER = 'immudb'
const IMMUDB_PWD = 'immudb'
const cl = new ImmudbClient({ host: IMMUDB_HOST, port: IMMUDB_PORT });
(async () => {
await cl.login({ user: IMMUDB_USER, password: IMMUDB_PWD })
const currentStateRes = await cl.currentState()
console.log('success: currentState', currentStateRes)
})()
This feature is not yet supported or not documented. Do you want to make a feature request or help out? Open an issue on .Net sdk github project (opens new window)
If you’re using another development language, please read up on our immugw (opens new window) option.