Skip to content
Libra’s mission is to enable a simple global currency and financial infrastructure that empowers billions of people.
Rust HTML HCL Shell Dockerfile Python
Branch: master
Clone or download
wrwg and bors-libra Constraint reference parameters.
Reference parameters need to be constraint in two ways:

1. We need to assume the selection path is in range of the current stratification depth. Otherwise we create a logic inconsistency if the reference is read (e.g. that a value both is#Integer and is#Map).
2. We need to assume that a local index is within the current memory range. Otherwise, newly created locals can be aliases with the passed references, which is not possible in Move.

This change adds those assumptions for ref parameters as part of the generated type checking assumptions.

Closes: #2179
Approved by: cbarrettfb
Latest commit b0069f8 Jan 8, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.assets [ImgBot] Optimize images Sep 18, 2019
.cargo [x] add clippy commnad Oct 30, 2019
.circleci [security] Cargo audit to fail on sec warnings Jan 7, 2020
.github docs: Update bug_report.md so bold markdown and comment works Sep 18, 2019
admission_control ac-service: convert to once_cell Jan 9, 2020
client [consensus] fix the sequence number in test_e2e_reconfiguration Jan 8, 2020
common metrics: convert to once_cell Jan 9, 2020
config config: remove unused lazy_static dependency Jan 9, 2020
consensus consensus-types: remove unused lazy_static dependency Jan 9, 2020
contributing Initial commit Jun 17, 2019
crypto crypto: convert to once_cell Jan 9, 2020
docker [docker] use new config-builder for validator-dynamic Jan 8, 2020
documentation Update cargo test instruction in READMEs Dec 18, 2019
executor executor: convert to once_cell Jan 9, 2020
language Constraint reference parameters. Jan 9, 2020
libra-node Revert "storage: convert to tonic" Dec 21, 2019
libra-swarm libra-swarm: convert to once_cell Jan 9, 2020
mempool mempool: convert to once_cell Jan 9, 2020
network network: convert to once_cell Jan 9, 2020
scripts [client] add reconfig command when we have mint key and avoid loading… Dec 12, 2019
state-synchronizer state-sync: convert to once_cell Jan 9, 2020
storage libradb: convert to once_cell Jan 9, 2020
terraform [tf] Bump main aws version, requires new terraform init Dec 23, 2019
testsuite testsuite: remove unused lazy_static dependency Jan 9, 2020
types types: convert to once_cell Jan 9, 2020
vm-validator Remove some of the redundent clone() found by clippy Jan 7, 2020
x Forbid unsafe code throughout the codebase, with a few exceptions Nov 25, 2019
.dockerignore [DLC] Optimize cache for dynamic validator build Dec 10, 2019
.gitattributes meta: turn off indentation whitespace check Oct 9, 2019
.gitignore [language] Clean up genesis generation and move it under language/tools Jan 8, 2020
CODE_OF_CONDUCT.md Fix typo Jun 24, 2019
CONTRIBUTING.md Update cargo test instruction in READMEs Dec 18, 2019
Cargo.lock move-stdlib: convert to once_cell Jan 9, 2020
Cargo.toml [language] Clean up genesis generation and move it under language/tools Jan 8, 2020
LICENSE Initial commit Jun 17, 2019
README.md Update Contributing section in README.md Dec 10, 2019
SECURITY.md Initial commit Jun 17, 2019
clippy.toml Let clippy complain if the # of arguments grows out of hand Sep 23, 2019
codecov.yml [CI] add code coverage by grcov Nov 15, 2019
libra.png [ImgBot] Optimize images Sep 18, 2019
rust-toolchain Update to latest stable rust Jan 7, 2020
rustfmt.toml [rust] migrate to beta toolchain Sep 26, 2019
x.toml [rust] move to futures 0.3 and tokio 0.2 Nov 27, 2019

README.md

Libra Logo

CircleCI License

Libra Core implements a decentralized, programmable database which provides a financial infrastructure that can empower billions of people.

Note to Developers

  • Libra Core is a prototype.
  • The APIs are constantly evolving and designed to demonstrate types of functionality. Expect substantial changes before the release.
  • We’ve launched a testnet that is a live demonstration of an early prototype of the Libra Blockchain software.

Contributing

To begin contributing, sign the CLA. You can learn more about contributing to the Libra project by reading our Contribution Guide and by viewing our Code of Conduct.

Getting Started

Learn About Libra

Try Libra Core

Technical Papers

Blog

Libra Codebase

Community

License

Libra Core is licensed as Apache 2.0.

You can’t perform that action at this time.