Changeset View
Changeset View
Standalone View
Standalone View
src/key.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_KEY_H | #ifndef BITCOIN_KEY_H | ||||
#define BITCOIN_KEY_H | #define BITCOIN_KEY_H | ||||
#include "pubkey.h" | #include <pubkey.h> | ||||
#include "serialize.h" | #include <serialize.h> | ||||
#include "support/allocators/secure.h" | #include <support/allocators/secure.h> | ||||
#include "uint256.h" | #include <uint256.h> | ||||
#include <stdexcept> | #include <stdexcept> | ||||
#include <vector> | #include <vector> | ||||
/** | /** | ||||
* secp256k1: | * secp256k1: | ||||
* const unsigned int PRIVATE_KEY_SIZE = 279; | * const unsigned int PRIVATE_KEY_SIZE = 279; | ||||
* const unsigned int PUBLIC_KEY_SIZE = 65; | * const unsigned int PUBLIC_KEY_SIZE = 65; | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |