Sha256: 3ea54c9844fb2dae8ab9bbaeb7195f8d483ccd15e2c20955778fe2a5d004719d

Contents?: true

Size: 708 Bytes

Versions: 2

Compression:

Stored size: 708 Bytes

Contents

// Copyright 2015 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0

namespace stellar
{

typedef opaque Hash[32];
typedef opaque uint256[32];

typedef unsigned int uint32;
typedef int int32;

typedef unsigned hyper uint64;
typedef hyper int64;

enum CryptoKeyType
{
    KEY_TYPES_ED25519 = 0
};

union PublicKey switch (CryptoKeyType type)
{
case KEY_TYPES_ED25519:
    uint256 ed25519;
};

// variable size as the size depends on the signature scheme used
typedef opaque Signature<64>;

typedef opaque SignatureHint[4];

typedef PublicKey NodeID;

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.20 xdr/Stellar-types.x
stellar-base-0.0.19 xdr/Stellar-types.x