Skip to content

Instantly share code, notes, and snippets.

View vklachkov's full-sized avatar

Valera vklachkov

View GitHub Profile
#include <cstdio>
#include <cstring>
#include "aes.hpp"
#define PRINTF_BUFHEX(buf, n) \
for (int i = 0; i < n; i++) \
{ \
printf("0x%02X ", buf[i]); \
} \
EGLint major, minor, count, n, size, w, h, format;
EGLDisplay display = nullptr;
EGLSurface surface;
EGLContext context;
EGLConfig *configs;
EGLConfig config = nullptr;
EGLBoolean result = EGL_FALSE;
static const EGLint config_attribs[] = {
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
[settings]
timeout = 1000
[relaychain]
chain = "rococo-local"
default_command = "./polkadot-sdk-2409/target/release/polkadot"
[[relaychain.nodes]]
name = "alice"
validator = true