Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Allred
crown-core
Commits
cf2ed26a
Commit
cf2ed26a
authored
10 years ago
by
Pieter Wuille
Browse files
Options
Download
Plain Diff
Merge pull request #5205
b4347f60
minor code style cleanup after recent merges (Philip Kaufmann)
parents
832acfc3
3aa3d73e
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
src/alert.cpp
+2
-2
src/alert.cpp
src/crypter.h
+2
-2
src/crypter.h
src/eccryptoverify.cpp
+5
-0
src/eccryptoverify.cpp
src/eccryptoverify.h
+7
-5
src/eccryptoverify.h
src/ecwrapper.h
+1
-1
src/ecwrapper.h
src/hash.h
+2
-1
src/hash.h
src/key.h
+1
-1
src/key.h
src/leveldbwrapper.cpp
+2
-1
src/leveldbwrapper.cpp
src/pubkey.cpp
+1
-1
src/pubkey.cpp
src/pubkey.h
+2
-2
src/pubkey.h
src/script/standard.h
+2
-2
src/script/standard.h
with
27 additions
and
18 deletions
+27
-18
src/alert.cpp
View file @
cf2ed26a
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT
/X11
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.
#include "alert.h"
#include "chainparams.h"
#include "clientversion.h"
#include "pubkey.h"
#include "net.h"
#include "pubkey.h"
#include "timedata.h"
#include "ui_interface.h"
#include "util.h"
...
...
This diff is collapsed.
Click to expand it.
src/crypter.h
View file @
cf2ed26a
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT
/X11
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.
#ifndef BITCOIN_CRYPTER_H
#define BITCOIN_CRYPTER_H
#include "allocators.h"
#include "serialize.h"
#include "keystore.h"
#include "serialize.h"
class
uint256
;
...
...
This diff is collapsed.
Click to expand it.
src/eccryptoverify.cpp
View file @
cf2ed26a
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "eccryptoverify.h"
namespace
{
...
...
This diff is collapsed.
Click to expand it.
src/eccryptoverify.h
View file @
cf2ed26a
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-201
3
The Bitcoin developers
// Distributed under the MIT
/X11
software license, see the accompanying
// Copyright (c) 2009-201
4
The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_EC
_
CRYPTO
_
VERIFY_H
#define BITCOIN_EC
_
CRYPTO
_
VERIFY_H
#ifndef BITCOIN_ECCRYPTOVERIFY_H
#define BITCOIN_ECCRYPTOVERIFY_H
#include <vector>
#include <cstdlib>
class
uint256
;
namespace
eccrypto
{
...
...
@@ -16,4 +17,5 @@ bool Check(const unsigned char *vch);
bool
CheckSignatureElement
(
const
unsigned
char
*
vch
,
int
len
,
bool
half
);
}
// eccrypto namespace
#endif
#endif // BITCOIN_ECCRYPTOVERIFY_H
This diff is collapsed.
Click to expand it.
src/ecwrapper.h
View file @
cf2ed26a
...
...
@@ -43,4 +43,4 @@ public:
static
bool
SanityCheck
();
};
#endif // BITCOIN_EC
_
WRAPPER_H
#endif // BITCOIN_ECWRAPPER_H
This diff is collapsed.
Click to expand it.
src/hash.h
View file @
cf2ed26a
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT
/X11
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.
#ifndef BITCOIN_HASH_H
...
...
@@ -160,4 +160,5 @@ uint256 SerializeHash(const T& obj, int nType=SER_GETHASH, int nVersion=PROTOCOL
unsigned
int
MurmurHash3
(
unsigned
int
nHashSeed
,
const
std
::
vector
<
unsigned
char
>&
vDataToHash
);
void
BIP32Hash
(
const
unsigned
char
chainCode
[
32
],
unsigned
int
nChild
,
unsigned
char
header
,
const
unsigned
char
data
[
32
],
unsigned
char
output
[
64
]);
#endif // BITCOIN_HASH_H
This diff is collapsed.
Click to expand it.
src/key.h
View file @
cf2ed26a
...
...
@@ -13,8 +13,8 @@
#include <stdexcept>
#include <vector>
class
CPubKey
;
class
CExtPubKey
;
class
CPubKey
;
/**
* secp256k1:
...
...
This diff is collapsed.
Click to expand it.
src/leveldbwrapper.cpp
View file @
cf2ed26a
// Copyright (c) 2012-2014 The Bitcoin developers
// Distributed under the MIT
/X11
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.
#include "leveldbwrapper.h"
...
...
@@ -7,6 +7,7 @@
#include "util.h"
#include <boost/filesystem.hpp>
#include <leveldb/cache.h>
#include <leveldb/env.h>
#include <leveldb/filter_policy.h>
...
...
This diff is collapsed.
Click to expand it.
src/pubkey.cpp
View file @
cf2ed26a
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT
/X11
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.
#include "pubkey.h"
...
...
This diff is collapsed.
Click to expand it.
src/pubkey.h
View file @
cf2ed26a
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-201
3
The Bitcoin developers
// Distributed under the MIT
/X11
software license, see the accompanying
// Copyright (c) 2009-201
4
The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_PUBKEY_H
...
...
This diff is collapsed.
Click to expand it.
src/script/standard.h
View file @
cf2ed26a
...
...
@@ -6,15 +6,15 @@
#ifndef BITCOIN_SCRIPT_STANDARD_H
#define BITCOIN_SCRIPT_STANDARD_H
#include "uint256.h"
#include "script/interpreter.h"
#include "uint256.h"
#include <boost/variant.hpp>
#include <stdint.h>
class
CScript
;
class
CKeyID
;
class
CScript
;
/** A reference to a CScript: the Hash160 of its serialization (see script.h) */
class
CScriptID
:
public
uint160
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help