Ethereum
PoC-8
The C++ Implementation of Ethereum
Address.h
Go to the documentation of this file.
1
/*
2
This file is part of cpp-ethereum.
3
4
cpp-ethereum is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 3 of the License, or
7
(at your option) any later version.
8
9
cpp-ethereum is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
16
*/
20
21
#pragma once
22
23
#include "
FixedHash.h
"
24
25
namespace
dev
26
{
27
30
using
Address
=
h160
;
31
33
using
Addresses
=
h160s
;
34
36
using
AddressHash
= std::unordered_set<h160>;
37
39
extern
Address
const
ZeroAddress
;
40
42
extern
Address
const
MaxAddress
;
43
45
extern
Address
const
SystemAddress
;
46
47
}
48
dev::MaxAddress
Address const MaxAddress
The last address.
Definition:
Address.cpp:23
FixedHash.h
dev::h160
FixedHash< 20 > h160
Definition:
FixedHash.h:357
dev::Addresses
h160s Addresses
A vector of Ethereum addresses.
Definition:
Address.h:33
dev::FixedHash< 20 >
dev::ZeroAddress
Address const ZeroAddress
The zero address.
Definition:
Address.cpp:22
dev::AddressHash
std::unordered_set< h160 > AddressHash
A hash set of Ethereum addresses.
Definition:
Address.h:36
dev
Definition:
Address.cpp:21
dev::SystemAddress
Address const SystemAddress
The SYSTEM address.
Definition:
Address.cpp:24
dev::h160s
std::vector< h160 > h160s
Definition:
FixedHash.h:362
libdevcore
Address.h
Generated on Fri Sep 20 2019 00:00:00 for Ethereum by
1.8.18