Skip to content

Commit

Permalink
feat: Add tari script transaction data structures (#3064)
Browse files Browse the repository at this point in the history
Add tari script transaction data structures
Updated `/// Sum of script offsets for all kernels in this block.`
Implement TariScript base node validation and default scripts in transactions
Add tari script transaction data structures
Updated `/// Sum of script offsets for all kernels in this block.`
Fix compile errors
Fix sqlite3 database migrations for tari-script
fix cucumber tests to use standalone miner
sw_squash tari_script
Add one-sided payment send transaction
Add one sided tx to the command line
[Wallet] Update wallet gRPC server to send one-sided payments
Add send one-sided tx to console wallet TUI
Fix Cucumber tests in `TariScript` branch
Merge `Development` into the `TariScript` branch
Remove "end of time" panic in emission
New gen block for tari_script
[Wallet] Derive Comms Secret Key from the Master Seed key
Adds version and commmit string to all application logs
Add one sided payment scanning and recovering
Add Bulletproofs Rewinding RFC
FFI method removal and Test Fixes
Verified massive multiple reorg cucumber
Consolidate config files into one
Fix `header-stats` command
Fix compile error
Fix build error in console wallet
fmt and clippy
[ci] Switch to ssh urls for tari-crypto dep
Replace custom ChaCha20 cipher with RustCrypto ChaCha20 implementation
Fix compiler warnings
Merge Dev into TariScript
Update and fix Import utxo functions
rename to maturity
Merge Dev into TariScript
Fix clippy
Update rust nightly toolchain
update flaky unit tests
Merge dev
Fix clippy warnings in tests
fix: Update failing rust tests (#2961)
Fix cucumber tests on `tari-script` branch
Implement cucumber tests for one-sided recovery and scanning
Apply suggestions from code review
[base-node] update peer seeds temporarily for tari-script branch
Improve LWMA to be more stable
Make pruned mode cucumber reorg tests predictable
Implement including full script in transaction outputs
update error messages
Fix cucumber error introduced by full script in transaction output
Fix ChainStorageError after a reorg with new block
test:fix nop script name
fix prune mode
Update console wallet on one sided payment import
Add cucumber test to verify hybrid mined coinbases
remove beta-hash
[wallet] Ensure recovery will not overwrite existing wallet
[ci] Update wallet-grpc-client to use https instedad of git for npm ci to work
Fix reorg difficulty unit tests
Increment wallet key manager index during recovery
[wallet-ffi] `wallet_create` takes seed words for recovery
Cancel faux transaction when imported UTXO is invalidated
feat: Fix birthday attack vulnerability in tari script offset (#2956)
Modify gamma calculation for Tari script
[ui] Display local time instead of UTC. Add new wallet commands.
Fix `Unique Constraint` bug when requesting a coinbase output at same height
[base-node] Check minimum number of headers for calc-timing
Mininal merkle proof for monero pow data
add logs to cucumber ci artefacts
Fix double spend test.
Review of RFC-0100 (#3008)
Update RFC-0111 - Base Node architecture
[tests] Fix integration tests
Remove MemoryDBs from the wallet
[console-wallet] Update app state when base node is set by command/script mode
[console-wallet] Add command mode auto exit arg
[console-wallet] Allow amount field to parse Tari
Add sender signature to txn output
Review of RFC-0001 (#3007)
Fix small issues related to #3020
update rfc to add witness_mr to header
Clarify Tari Script nomenclature
Update connectivity manager defaults
Add RFC-0173 - Versioning to the RFCs
refactor utxo scanner class
Let the test pass if 1% of nodes will fail. The number of nodes that need to succeed is rounded down. Change from promise.all to a custom wait for N promises.
Add filtering of abandoned coinbase txs to console wallet
chore: fmt
[common] Start refactoring `min_type_alias_impl_trait` to `async_trait`
Add input_mr Change rangeproof_mr to be a witness_mr
clean up the db calls to make them safer
Change script_signature type to ComSig
[tests] Fix test compilation error
Add input_mr and witness_mr to header
fix build
Remove type alias impl trait unstable feature requirement from DHT
[console-wallet] Add maturity to transaction detail
Fix wallet cucumber tests
[chore] update monerod stagenet url
[chore] update monerod stagenet url in readme
Remove `height` field from outputs
Network separation and protocol versioning implementation
Update host header in proxied request
[chore, testnet-reset] Remove unimplemented Blake pow algo variant
Software auto updates for base node
[config] Update example with new peer seeds for weatherwax
add zero conf tx
fix broken cucumber tests
Implement metadata comsig on txn output
Fix db update error
[chore] Update digest, rand and sha3
fix unit test
generate new weatherwax faucet utxos
update genesis block timestamp for reset
  • Loading branch information
stringhandler committed Jul 7, 2021
2 parents f512982 + bb7ff8a commit 266b5f1
Show file tree
Hide file tree
Showing 598 changed files with 27,199 additions and 13,204 deletions.
15 changes: 12 additions & 3 deletions .circleci/config.yml
@@ -1,7 +1,7 @@
version: 2.1

defaults:
rust_image: &rust_image quay.io/tarilabs/rust_tari-build-with-deps:nightly-2020-08-13
rust_image: &rust_image quay.io/tarilabs/rust_tari-build-with-deps:nightly-2021-05-06

commands:
test:
Expand Down Expand Up @@ -81,7 +81,10 @@ commands:
cargo fmt --all -- --check
- run:
name: Run clippy (main source)
command: cargo clippy -- -D warnings -W clippy::cognitive_complexity
command: |
TOOLCHAIN=$(cat rust-toolchain)
rustup component add --toolchain $TOOLCHAIN clippy
cargo clippy -- -D warnings -W clippy::cognitive_complexity
- run:
name: Run clippy (all targets)
command: cargo clippy --all-targets -- -D warnings
Expand Down Expand Up @@ -114,13 +117,19 @@ commands:
- run:
name: Run cucumber scenarios
command: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --tags "not @long-running and not @broken and not @flaky" --format json:cucumber_output/tests.cucumber
- run:
name: Generate report
command: cd integration_tests && node ./generate_report.js
when: always
- run:
name: Run flaky/broken cucumber scenarios (Always pass)
command: node_modules/.bin/cucumber-js --tags "not @long-running and @broken" --format json:cucumber_output/broken-tests.cucumber || true
command: cd integration_tests && node_modules/.bin/cucumber-js --tags "not @long-running and (@broken or @flaky)" --format json:cucumber_output/broken-tests.cucumber || true
- store_test_results:
path: integration_tests/cucumber_output
- store_artifacts:
path: integration_tests/cucumber_output
- store_artifacts:
path: integration_tests/temp/reports

jobs:
test-docs:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -40,3 +40,4 @@ keys.json
node_modules
/integration_tests/temp
/applications/utils/temp/
/integration_tests/cucumber_output

0 comments on commit 266b5f1

Please sign in to comment.