Changeset View
Changeset View
Standalone View
Standalone View
src/script/sigencoding.cpp
// 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 | ||||
// Copyright (c) 2017-2018 The Bitcoin developers | // Copyright (c) 2017-2018 The Bitcoin 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 "sigencoding.h" | #include <script/sigencoding.h> | ||||
#include "pubkey.h" | #include <pubkey.h> | ||||
#include "script_flags.h" | #include <script/script_flags.h> | ||||
#include <boost/range/adaptor/sliced.hpp> | #include <boost/range/adaptor/sliced.hpp> | ||||
typedef boost::sliced_range<const valtype> slicedvaltype; | typedef boost::sliced_range<const valtype> slicedvaltype; | ||||
/** | /** | ||||
* A canonical signature exists of: <30> <total len> <02> <len R> <R> <02> <len | * A canonical signature exists of: <30> <total len> <02> <len R> <R> <02> <len | ||||
* S> <S>, where R and S are not negative (their first byte has its highest bit | * S> <S>, where R and S are not negative (their first byte has its highest bit | ||||
▲ Show 20 Lines • Show All 285 Lines • Show Last 20 Lines |