BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Variables
a
c
d
e
g
h
l
n
o
t
w
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
a
b
c
d
e
f
g
h
m
n
o
p
s
t
u
v
w
y
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Functions
Variables
Typedefs
Macros
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
libraries
fc
include
fc
crypto
digest.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
fc/io/raw.hpp
>
3
#include <
fc/reflect/reflect.hpp
>
4
#include <
fc/crypto/sha256.hpp
>
5
6
namespace
fc
{
7
8
template
<
typename
T>
9
fc::sha256
digest
(
const
T& value )
10
{
11
fc::sha256::encoder
enc;
12
fc::raw::pack
( enc, value );
13
return
enc.
result
();
14
}
15
}
fc::digest
fc::sha256 digest(const T &value)
Definition:
digest.hpp:9
fc
Definition:
api.hpp:15
fc::sha256
Definition:
sha256.hpp:10
reflect.hpp
Defines types and macros used to provide reflection.
fc::sha256::encoder::result
sha256 result()
Definition:
sha256.cpp:59
fc::sha256::encoder
Definition:
sha256.hpp:35
fc::raw::pack
void pack(Stream &s, const flat_set< T, A... > &value, uint32_t _max_depth)
Definition:
flat.hpp:11
sha256.hpp
raw.hpp
Generated on Fri Dec 15 2023 06:12:42 for BitShares-Core by
1.8.17