Wire Sysio Wire Sysion 1.0.0
|
#include <sysio/chain/block_log.hpp>
#include <sysio/chain/exceptions.hpp>
#include <fstream>
#include <fc/bitutil.hpp>
#include <fc/io/cfile.hpp>
#include <fc/io/raw.hpp>
Go to the source code of this file.
Classes | |
class | sysio::chain::detail::block_log_impl |
class | sysio::chain::detail::reverse_iterator |
class | sysio::chain::detail::index_writer |
class | sysio::chain::detail::fileptr_datastream |
Namespaces | |
namespace | sysio |
namespace | sysio::chain |
namespace | sysio::chain::detail |
Macros | |
#define | LOG_READ (std::ios::in | std::ios::binary) |
#define | LOG_WRITE (std::ios::out | std::ios::binary | std::ios::app) |
#define | LOG_RW ( std::ios::in | std::ios::out | std::ios::binary ) |
#define | LOG_WRITE_C "ab+" |
#define | LOG_RW_C "rb+" |
#define | FC_FOPEN(p, m) |
Typedefs | |
using | sysio::chain::detail::unique_file = std::unique_ptr<FILE, decltype(&fclose)> |
Functions | |
constexpr uint64_t | sysio::chain::detail::buffer_location_to_file_location (uint32_t buffer_location) |
constexpr uint32_t | sysio::chain::detail::file_location_to_buffer_location (uint32_t file_location) |
void | block_log_set_buff_len (uint64_t len) |
sysio::chain | |
Variables | |
constexpr uint32_t | sysio::chain::detail::pruned_version_flag = 1<<31 |
#define FC_FOPEN | ( | p, | |
m ) |
Definition at line 16 of file block_log.cpp.
#define LOG_READ (std::ios::in | std::ios::binary) |
Definition at line 9 of file block_log.cpp.
#define LOG_RW ( std::ios::in | std::ios::out | std::ios::binary ) |
Definition at line 11 of file block_log.cpp.
#define LOG_RW_C "rb+" |
Definition at line 13 of file block_log.cpp.
#define LOG_WRITE (std::ios::out | std::ios::binary | std::ios::app) |
Definition at line 10 of file block_log.cpp.
#define LOG_WRITE_C "ab+" |
Definition at line 12 of file block_log.cpp.
void block_log_set_buff_len | ( | uint64_t | len | ) |
Definition at line 1432 of file block_log.cpp.