Changeset View
Changeset View
Standalone View
Standalone View
src/script/signingprovider.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2019 The Bitcoin Core developers | // Copyright (c) 2009-2019 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. | ||||
#include <script/keyorigin.h> | #include <script/keyorigin.h> | ||||
#include <script/signingprovider.h> | #include <script/signingprovider.h> | ||||
#include <script/standard.h> | |||||
#include <key.h> | |||||
#include <pubkey.h> | |||||
#include <util/system.h> | #include <util/system.h> | ||||
const SigningProvider &DUMMY_SIGNING_PROVIDER = SigningProvider(); | const SigningProvider &DUMMY_SIGNING_PROVIDER = SigningProvider(); | ||||
template <typename M, typename K, typename V> | template <typename M, typename K, typename V> | ||||
bool LookupHelper(const M &map, const K &key, V &value) { | bool LookupHelper(const M &map, const K &key, V &value) { | ||||
auto it = map.find(key); | auto it = map.find(key); | ||||
if (it != map.end()) { | if (it != map.end()) { | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |