merkle_radix_leaf.address
in SQLite. This fixes a bug
where address that were valid numeric values would have their leading 0s
removed (as expressed in the hex string of the address).CommandTransactionBuilder
from transact::families::command::workload
to transact::families::command
. The original version remains and is now
deprecated.SqliteMerkleRadixStore
with exclusive write. This updates
SqliteMerkleRadixStore
such that that all writes are exclusive, but multiple
readers will be possible. This mitigates bugs that may occur when concurrent
writes are allowed.From<Arc<RwLock<Pool...>>>
implementation for SqliteBackend
.command
and smallbank
(experimentally) transactions at configurable rates and
durations.ContextManager::drop_context
, where contexts are reference
counted.BatchHeader::transaction_ids
from Vec<Vec<u8>>
to Vec<String>
to
make all header signature fields consistently typed.TransactionHeader::dependencies
from Vec<Vec<u8>>
to Vec<String>
to make all header signature fields consistently typed.HashMethod:SHA512
to HashMethod::Sha512, following the recommended
naming conventions."sqlite-db"
, in favor of "state-merkle-sql"
and
"sqlite"
."redis-db"
, as Redis does not meet the
transactional requirements of the Merkle State.transact::state::merkle::kv::StateDatabaseError::InternalError
variant,
wrapping transact::error::InternalError
."sabre-compat"
feature for writing wasm-compatible smart contracts.xo
, smallbank
and command
implementations of the
TransactionWorkload
and BatchWorkload
traits.command
that has three subcommands set-state
,
get-state
, and show-state
which can be used to interact with the command
smart contract.playlist
CLI command that has four subcommands create
, process
,
batch
, and submit
which can be used to generate files of pregenerated
payloads, transactions, and batches. The file containing the batches can then
be submitted against a distributed ledger.workload
CLI command which can be used to submit a workload against a
distributed ledger.Make MerkleRadixStore
and the SQL implementation public. This allows
library consumers access to the lower-level APIs for interacting with the
merkle-radix tree storage layer.
Add list_trees
to MerkleRadixStore
. This allows the user to list the
available trees stored in the underlying store.
delete_tree
to SqlMerkleState
. This allows the entire tree to be
deleted, include all state root hashes and leaf data associated with that
tree.Limit query recursion to single tree. This fixes an issue where queries in a database with trees with identical structure would cause an infinite loop in SQLite.
Use SQLite immediate transactions. This improves multi-threaded support.
Update SQLite PRAGMA for the WAL journal mode. This improves multi-threaded support.
Remove manual ID sequences for Postgres. This improves multi-thread support.
Update defaults for SQLite "synchronous" PRAGMA. This changes the default "synchronous" PRAGMA setting to explicitly be "Normal" or "Full", if the WAL journal mode is enabled.
"state-merkle-sql"
feature has been stabilized, along with the
"postgres"
and "sqlite"
features.Stabilize "state-merkle-sql"
by moving it to the "stable"
feature group.
Stabilize "postgres"
by moving it to the "stable"
feature group.
Stabilize "sqlite"
by moving it to the "stable"
feature group.
Replace OverlayReader
and -Writer
with MerkleRadixStore
.
Move operations, schema, and models to store
module.
Merge insert_node
and update_change_log
operations into single
write_changes
operation.
Separate all Postgres- and SQLite-specific code into respective postgres
and
sqlite
submodules, relative to the parent module.
Allow migrations to be run against a single connection. This allows
migrations to be run in an instance where the caller does not have access to a
connection pool or the connection string and, therefore, cannot use a
Backend
instance via the MigrationManager
trait.
"state-merkle-leaf-reader"
feature has been stabilized by being removed.
This makes the MerkleLeafReader
trait part of the standard, stable API.Generalize the feature guard over serde_derive
. This change removes the
possibility of the macros being unavailable if a specific libtransact feature
is not enabled. Now any feature that depends on serde_derive
will have the
macros available.
Re-export transact::state::merkle::kv::MerkelLeafIterator
in the parent
module for backwards-compatibility. This type was previously part of the
public API.
Soft-deprecate the type transact::state::merkle::kv::MerkelLeafIterator
, as
this type should not be part of the public API, and may be removed in a future
release.
Return InvalidStateError
when a StateDatabaseError::NotFound
variant is
encountered during leaf iteration when implemented on kv::MerkleState
.
Stabilize "state-merkle-leaf-reader"
feature by removing it. This makes the
MerkleLeafReader
trait part of the standard, stable API.
StateDatabaseError::InternalError
variant. This change was not
backwards compatible.SqlMerkleState
and activated by the
features "state-merkle-sql"
with "postgres"
and/or "sqlite"
enabled for
either database.Move existing key-value MerkleState
implementation to
transact::state::merkle::kv
. This implementation is backed by the key-value
Database
abstraction. It is re-exported in the transact::state::merkle
module for backwards compatibility.
Add experimental SqlMerkelState
available in the module
transact::state::merkle::sql
. This is activated by the features
"state-merkle-sql"
with "postgres"
and/or "sqlite"
enabled for either
database.
Add transact::error::InternalError
, copied from the splinter library.
Add transact::error::InvalidStateError
, copied from the splinter library.
Expand SQLite journal configuration in experimental SqliteDatabase
semver
dependency from 0.9
to 1.0
.protobuf
dependency from 2.0
to 2.19
.cylinder
dependency of libtransact and the simple_xo
example to
version 0.2
state::merkle::MerkleRadixTree
where an empty set of state
changes would produce an empty state id. This has been updated to return the
current state root hash.SerialScheduler
with call ordering of cancel
and
finalize
. These methods can be called in either order.sawtooth-sdk
version to 0.5. The sawtooth-sdk is used for the
sawtooth-compat
feature.contract-archive
feature has been stabilized. This feature guards the
smart contract archive (scar) functionality.transact::signing
module has been replaced by the cylinder
library
crate.sawtooth-sdk
and sawtooth-xo
dependencies to 0.4
.clone_box
method to ContextLifecycle
that enables the trait to be
clone-able.ExecutionTaskSubmitter
for submitting tasks to the executor. This
struct is thread-safe and allows a single executor to be used across threads.families::command::make_command_transaction
function to take a
signer for signing the transaction.XoTransactionWorkload
and XoBatchWorkload
to take optional
workload seeds and signers.SchedulerFactory
trait for creating generic schedulers, along with
implementations for MultiScheduler
and SerialScheduler
.Scheduler
trait to have the Send
marker
trait.Scheduler::cancel
method to abort and return any in-progress
batches.Scheduler::cancel
method to send a None
execution result if the
scheduler is finished.None
execution result was not sent
when the scheduler was finalized with a non-empty batch queue.SqliteDatabaseBuilder
to modify the "synchronous" setting
via PRAGMA statement. This setting provides different guarantees of data
safety for situations such as OS crash or power loss.transact::workload
module publicly available with the experimental
feature "workload".transact::families::xo
module and the experimental feature "family-xo".CommandTransactionHandler
and associated methods for the command
transaction family publicly available with the transact::families::command
module and the experimental feature "family-command".just build
, just lint
, and just test
TryFrom
implementations to convert TransactionResult
enums and
TransactionReceipt
structs into StateChange
structs.SmartContractArchive::from_scar_file
constructor to take multiple
search paths for .scar files.SmartContractArchive
with the
experimental feature "contract-archive"TransactionBuilder
into BatchBuilder
for easier batch
buildingBatchList
to and from a native Vec<Batch>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。