CatapultServer
v0.5.0.1 (Elephant)
|
Classes | |
struct | Address_tag |
struct | Amount_tag |
struct | BlockDuration_tag |
struct | BlockFeeMultiplier_tag |
class | catapult_error |
Base class for all catapult exceptions that derives from both std::exception and boost::exception. More... | |
class | catapult_error< catapult_error< TStlException > > |
struct | Difficulty_tag |
struct | ErrorParam1 |
Tag for first custom exception parameter. More... | |
struct | ErrorParam2 |
Tag for second custom exception parameter. More... | |
struct | GenerationHash_tag |
struct | Hash160_tag |
struct | Hash256_tag |
struct | Hash512_tag |
struct | Height_tag |
struct | Importance_tag |
struct | Key_tag |
struct | MosaicId_tag |
struct | MosaicNonce_tag |
Mosaic nonce. More... | |
struct | NamespaceId_tag |
Namespace identifier. More... | |
struct | Signature_tag |
struct | Timestamp_tag |
struct | UnresolvedAddress_tag |
struct | UnresolvedMosaicId_tag |
Functions | |
constexpr NamespaceId | Namespace_Base_Id (0) |
Base id for namespaces. More... | |
constexpr BlockDuration | Eternal_Artifact_Duration (0) |
Duration of eternal artifact. More... | |
template<typename T , size_t N> | |
constexpr size_t | CountOf (T const (&)[N]) noexcept |
Returns the size of the specified array. More... | |
Variables | |
constexpr size_t | Namespace_Max_Depth = 3 |
Maximum number of parts for a namespace. More... | |
constexpr size_t | Rollback_Buffer_Size = 2 |
Number of buffer values required to guarantee deterministic rollbacks. More... | |
constexpr size_t | Importance_History_Size = 1 + Rollback_Buffer_Size |
Number of historical importances associated with a single account. More... | |
constexpr size_t | Activity_Bucket_History_Size = 5 + Rollback_Buffer_Size |
constexpr size_t | Cached_Hash_Size = Hash256_Size |
constexpr size_t | Signature_Size = 64 |
constexpr size_t | Key_Size = 32 |
constexpr size_t | Hash512_Size = 64 |
constexpr size_t | Hash256_Size = 32 |
constexpr size_t | Hash160_Size = 20 |
constexpr size_t | Address_Decoded_Size = 25 |
constexpr size_t | Address_Encoded_Size = 40 |
Copyright (c) 2016-present, Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp. All rights reserved.
This file is part of Catapult.
Catapult is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Catapult is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with Catapult. If not, see http://www.gnu.org/licenses/.
using catapult::action = typedef std::function<void ()> |
An action function.
using catapult::Address = typedef utils::ByteArray<Address_Decoded_Size, Address_tag> |
using catapult::Amount = typedef utils::BaseValue<uint64_t, Amount_tag> |
using catapult::BlockDuration = typedef utils::BaseValue<uint64_t, BlockDuration_tag> |
using catapult::BlockFeeMultiplier = typedef utils::BaseValue<uint32_t, BlockFeeMultiplier_tag> |
using catapult::catapult_file_io_error = typedef catapult_error<catapult_runtime_error> |
using catapult::catapult_invalid_argument = typedef catapult_error<std::invalid_argument> |
using catapult::catapult_out_of_range = typedef catapult_error<std::out_of_range> |
using catapult::catapult_runtime_error = typedef catapult_error<std::runtime_error> |
using catapult::consumer = typedef std::function<void (TArgs...)> |
A consumer function.
using catapult::Difficulty = typedef utils::ClampedBaseValue<uint64_t, Difficulty_tag> |
using catapult::GenerationHash = typedef utils::ByteArray<Hash256_Size, GenerationHash_tag> |
using catapult::Hash160 = typedef utils::ByteArray<Hash160_Size, Hash160_tag> |
using catapult::Hash256 = typedef utils::ByteArray<Hash256_Size, Hash256_tag> |
using catapult::Hash512 = typedef utils::ByteArray<Hash512_Size, Hash512_tag> |
using catapult::Height = typedef utils::BaseValue<uint64_t, Height_tag> |
using catapult::Importance = typedef utils::BaseValue<uint64_t, Importance_tag> |
using catapult::Key = typedef utils::ByteArray<Key_Size, Key_tag> |
using catapult::MosaicId = typedef utils::BaseValue<uint64_t, MosaicId_tag> |
using catapult::MosaicNonce = typedef utils::BaseValue<uint32_t, MosaicNonce_tag> |
using catapult::NamespaceId = typedef utils::BaseValue<uint64_t, NamespaceId_tag> |
using catapult::predicate = typedef std::function<bool (TArgs...)> |
A predicate function.
using catapult::Signature = typedef utils::ByteArray<Signature_Size, Signature_tag> |
using catapult::supplier = typedef std::function<T ()> |
A (stateless) supplier function.
using catapult::Timestamp = typedef utils::BaseValue<uint64_t, Timestamp_tag> |
using catapult::UnresolvedAddress = typedef utils::ByteArray<Address_Decoded_Size, UnresolvedAddress_tag> |
using catapult::UnresolvedMosaicId = typedef utils::BaseValue<uint64_t, UnresolvedMosaicId_tag> |
|
constexprnoexcept |
Returns the size of the specified array.
|
constexpr |
Duration of eternal artifact.
|
constexpr |
Base id for namespaces.
|
constexpr |
Number of historical activity buckets associated with a single account.
|
constexpr |
|
constexpr |
|
constexpr |
Size of hashes in the hash cache.
Hash256_Size
can save memory but will increase possibility of false positive rejections.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Number of historical importances associated with a single account.
|
constexpr |
|
constexpr |
Maximum number of parts for a namespace.
|
constexpr |
Number of buffer values required to guarantee deterministic rollbacks.
|
constexpr |