Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Txindex #401

Draft
wants to merge 76 commits into
base: master
Choose a base branch
from
Draft

Txindex #401

wants to merge 76 commits into from

Commits on Jan 22, 2024

  1. start

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    fc81cb5 View commit details
    Browse the repository at this point in the history
  2. start

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0216992 View commit details
    Browse the repository at this point in the history
  3. start

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    ddf8d98 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7aeeba1 View commit details
    Browse the repository at this point in the history
  5. betterments and clean-up.

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    65a6196 View commit details
    Browse the repository at this point in the history
  6. fmt and lints.

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    79470a4 View commit details
    Browse the repository at this point in the history
  7. one more lint

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    fa3e218 View commit details
    Browse the repository at this point in the history
  8. small logic bug.

    D-Stacks committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    73ad8b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. resync indexes in parallel

    D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    451bb87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b63e72a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be17b54 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a890241 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0fe2f85 View commit details
    Browse the repository at this point in the history
  6. Cargo.toml update for 0.13.4 release (kaspanet#404)

    * bump to 0.13.4
    
    * bump to 0.13.4
    
    * fix incorrect version due to a toolchain issue
    aspect authored and D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    bfc724b View commit details
    Browse the repository at this point in the history
  7. Wallet subsystem transaction generator updates (kaspanet#400)

    * replace NetworkType with NetworkId in the tx generator and related APIs
    
    * fix url path rendering in format_url
    
    * Improve mass related errors
    
    * refactor fee handling
    
    * renaming fee variants
    
    * mass combination strategy
    
    * wip - storage mass
    
    * additional unit tests and limit checks
    
    * Introduce per-network configurable additional compound transaction compute mass (currently set to 100 on tn10 and tn11)
    
    * expand sanity checks to handle 0 value outputs
    
    * documentation updates
    
    * code formatting
    
    * Set new input sequence to 0
    
    * change aggregate input value check to use saturating_sub() to prevent potential overflows (re github feedback)
    
    * change storage mass fee calc to return u64::MAX if the resulting mass is None (re GitHub feedback)
    aspect authored and D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    52e95dc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6fa02f9 View commit details
    Browse the repository at this point in the history
  9. align registry prefixes.

    D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    8c67d58 View commit details
    Browse the repository at this point in the history
  10. remove comment about race.

    D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    498b6c1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f2b32b8 View commit details
    Browse the repository at this point in the history
  12. Misc rustdoc updates (kaspanet#405)

    aspect authored and D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    947903e View commit details
    Browse the repository at this point in the history
  13. Fix yield duration of readers-preferred rwlock (kaspanet#406)

    * increase semaphore yield duration to 30 micros + tighten the test (so that w/o this fix it would fail certianly)
    
    * allow the test 2 read capture attempts + add macos experiment results
    michaelsutton authored and D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    31ee035 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    eca6438 View commit details
    Browse the repository at this point in the history
  15. lints and checks.

    D-Stacks committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    af93e5a View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    e3273bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ddf6de3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    923a982 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f42059 View commit details
    Browse the repository at this point in the history
  5. fmt

    D-Stacks committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    f26daac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    76a66fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eff01cb View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. make txindex recover from pruning interruptions again - introduce con…

    …cept of `exact` source.
    D-Stacks committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    d481ef4 View commit details
    Browse the repository at this point in the history
  2. two little fixes.

    D-Stacks committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    c2a7622 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dada60e View commit details
    Browse the repository at this point in the history
  4. fix one message.

    D-Stacks committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    af2dbee View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    df13f3a View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    92ac0c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0347cc0 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. better cli arg parsing.

    D-Stacks committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    0fcaea0 View commit details
    Browse the repository at this point in the history
  2. limit query size.

    D-Stacks committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    8397edb View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Fix max difficulty bound (kaspanet#423)

    * use max difficulty bound as expected
    
    * Fix dep wrokspace typo
    
    * bump version to 0.13.5
    michaelsutton authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    6e2d1f3 View commit details
    Browse the repository at this point in the history
  2. Allow using a toml config file (kaspanet#429)

    * allow using a toml config file
    * linting fix, serde lowercase WrpcNetAddress
    * Fix handling of defaults, strict deserialize of config file + error message
    * Update README
    * Revert debug default, README fixes
    orgr authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    179f1b7 View commit details
    Browse the repository at this point in the history
  3. Set the default Args appdir to None (kaspanet#432)

    With the change from kaspanet#429 the defaults are now used whenever
    no value is passed to cli args.
    
    appdir default value used to not matter, but now if it's set it makes
    the datadir be inside the current directory
    coderofstuff authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1bb7edb View commit details
    Browse the repository at this point in the history
  4. Fix ContextualNetAddress parsing (kaspanet#433)

    * Fix ContextualNetAddress parsing
    
    * fix kaspanet#434
    
    * Fix handling for all addresses + arrays
    
    * Fix log-level taking default instead of config file
    
    * Align Args deserialize names to CLI flag names
    
    * More renames to align deserialize struct like cli
    
    * update README
    orgr authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    4d4a391 View commit details
    Browse the repository at this point in the history
  5. Fix rustc 1.77 issues and lints (kaspanet#442)

    * remove BorshSchema due to rustc 1.77 issues
    * fix seal macro hash error due to rustc 1.77
    * fix all rustc 1.77 lints
    * add MSRV to `Cargo.toml`
    * suppress lints instead of making fields public
    * propagate `package.rust-version` to all workspace crates
    aspect authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    5309c7d View commit details
    Browse the repository at this point in the history
  6. Implement updated KIP9 mempool rules (excluding TN11) (kaspanet#448)

    * apply the updated kip9 rules wherever possible (excluding TN11)
    
    * temp
    
    * bump version to 0.13.6
    michaelsutton authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    11a7ccf View commit details
    Browse the repository at this point in the history
  7. Address Tracker for subscriptions to changed UTXOs notifications (kas…

    …panet#427)
    
    * Add an integration test covering UTXOs propagation
    
    * Refactor daemon_utxos_propagation_test()
    
    * Add heap profiling feature
    
    * Cover VirtualDaaScoreChanged notifications in test
    
    * Merge branch 'master' into rpc-memory-benchmark
    
    * Assert all changed UTXOs
    
    * Use UtxosChangedScope ctor
    
    * Make active non-blanket UtxosChanged subscription unique
    
    * Refactor broadcaster subscription unregistering
    
    * Add Display to Connection trait
    
    * Save creation of UtxosChanged address vec on listener unregistration
    
    * Reduce UtxosChangedSubscription memory footprint on mutation
    
    * Add gRPC client timeout to every request & remove tpc keep alive
    
    * Reconnect gRPC client on broken pipe
    
    * Disable gRPC server http2 keepalive
    
    * Add a test benchmarking UtxosChanged notifications memory footprint
    
    * Fix log
    
    * Merge branch 'master' into rpc-memory-benchmark
    
    * Remove tokio dependency in crate notify
    
    * Add a UtxosChanged mutation policy to the notification system
    
    * Share subscriptions between listeners and broadcasters
    
    * Replace UtxoAddress with Address
    
    * Refactor Single::mutate
    
    * Refactor `UtxosChangedSubscription` internals
    
    * Make `UtxosChangedSubscription::hash()` cheaper to compute
    
    * mimalloc
    
    * mimalloc disable purge_decommits
    
    * Add to simpa and integration tests
    
    * remove redundant unix and replace with win/linux/mac
    
    * Add comment
    
    * Add comment
    
    * Sort out features
    
    * Remove request timeout from `heap` feature
    
    * Enhance `Broadcaster` memory release and logs
    
    * Track global `UtxosChangedSubscription` count
    
    * Fix heap profile
    
    * Let the number of broadcasters in gRPC server be configurable
    
    * Identify an active and filtering UtxosChangedSubscription with a ListenerId
    
    * Give address.rs its folder
    
    * Address tracker, indexing and counting registrations
    
    * Add a sharable subscription context to the notification system
    
    * Use a subscription context in `Notification` trait and in `single::UtxosChangedSubscription`
    
    * Add an index counter and use short names
    
    * Use a subscription context in `compounded::UtxosChangedSubscription` and in `Subscription` trait
    
    * Rely on hash sets & maps instead of sorted vectors in single and compounded UtxosChanged subscriptions
    
    * fix lint
    
    * Add an optional maximum capacity to the address tracker
    
    * Introduce a mutation outcome
    
    * Remove unneeded CompoundedClone::clone_arc
    
    * Provide inner mutability to `Indexes` and `Counters`
    
    * Restore the filtering of UtxosChanged notifications based on compounded subscriptions in RPC core,  gRPC server and wRPC server
    
    * Measure memory footprint of CounterMap
    
    * Extend `UtxosChangedSubscription` inner mutability to its state
    
    * Group all wildcard `UtxosChangedSubscription` in broadcaster plan
    
    * Have kaspad use a single `SubscriptionContext`
    
    * Add event_type() to Scope
    
    * Reduce the number of mutation clones
    
    * Log some memory stats in a file
    
    * Consume the address vector of UtxosChangedScope
    
    * Retain the original address vector of a UtxosChanged mutation along the full chain of notifiers up to the IndexProcessor
    
    * Enhance the termination of all gRPC server connections
    
    * Put `UtxosChangedSubscription` state and indexes under the same lock
    
    * Some Tracker lock fairness enhancements
    
    * Preallocate static UtxosChanged subscriptions
    
    * Address new lint rules
    
    * Move memory_monitor
    
    * Silent on simnet
    
    * Add a shutdown listener to `Core`
    
    * Add a `Task` trait and implement some tasks
    
    * New daemon memory benchmark running in its own child process
    
    * Refactor `ClientPool` with a start fn returning a vector of `JoinHandle`
    
    * Add start and shutdown signaling to `ClientPool`
    
    * Add full miner, tx sender, subscriber tasks and all their sub-tasks
    
    * Use the tasks in fn utxos_changed_subscriptions_client
    
    * Cleaning
    
    * Fix a rare case potentially preventing subscriber tasks to exit
    
    * Fill the mempool up to the target
    
    * Run actual memory benchmarks
    
    * Add a main task to `TasksRunner`
    
    * Move tasks
    
    * Move tasks (2)
    
    * Rename full to group
    
    * Rename full to group (2)
    
    * Fix cargo syntax error
    
    * Add a stopper status to some tasks
    
    * Let the main task run before adding sub tasks that need it alive
    
    * Mempool benchmark based on tasks
    
    * Small adjustments on the utxos changed subscribe benchmark
    
    * Prevent a race condition
    
    * Refactor
    
    * Move the core shutdown request signaling into `RpcCoreService`
    
    * Add a signal indicating the gRPC server has started
    
    * Recycle emptied tracker entries
    
    * Add `max-tracked-addresses` argument
    
    * Rename `UtxosChangedMutationPolicy` `AllOrNothing` to `Wildcard`
    
    * Cleaning: remove R&D code
    
    * Merge branch 'master' into address-tracker-subscriptions
    
    * Some comments and documentation
    
    * Use a preset listener id in direct mode
    
    * Add lower and upper bounds to the tracker max address count & change the default value
    
    * For each event type the notifier can have at most one subscriber
    
    * Add and document `GrpcClient::connect_with_args`
    
    * Some doc
    
    * Complete `UtxosChangedMutationPolicy` description
    
    * Validate --max-tracked-addresses argument
    
    * remove unused AddressesHash
    
    * fix minor warnings under `devnet-prealloc` feature code
    tiram88 authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a801260 View commit details
    Browse the repository at this point in the history
  8. Fix for the pruning proof rebuild issue (issue kaspanet#444) (kaspane…

    …t#449)
    
    * add a strict assertion which should catch the pruning bug before actual data is pruned
    
    * possible fix: add `block_at_depth_2m` as an additional traversal root
    
    * rollback: rollback the previous fix since it's not the root cause
    
    * add additional dbg info to assertion
    
    * bug fix: write level relations for trusted blocks (blocks in the pruning point anticone of a newly synced node)
    
    * enable mainnet mining by default
    
    * simplify kip 9 beta condition + more mass tests
    
    * set default tracked addresses to 1M
    
    * fix tracker prealloc property + adds compile time assertion for upper bound
    michaelsutton authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8220aaa View commit details
    Browse the repository at this point in the history
  9. chore: remove repetitive words (kaspanet#447)

    Signed-off-by: wanshuangcheng <wanshuangcheng@outlook.com>
    wanshuangcheng authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a838686 View commit details
    Browse the repository at this point in the history
  10. Initialize pruning point depth store -- minor bug fix (kaspanet#453)

    * init the pruning point depth store, for the rare case where it is the first sink during initial ibd
    
    * perform pruning proof revalidation vs the current consensus and not the staging one
    
    * minor
    michaelsutton authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f0d2b98 View commit details
    Browse the repository at this point in the history
  11. Write panic errors to logs (kaspanet#445) (kaspanet#446)

    * Write panic errors to logs (kaspanet#445)
    
    * Remove the comment as it doesn't need to be addressed
    
    Reason: Waiting here will block the thread, and as the thread is locked
    and we wait for the logger system to be initiated that would wait for
    the thread to be released itself, making the waiting pointless
    
    * Add column to the log message for the panic error
    
    * Move panic setup after the logger init in all places
    
    * Add the thread name to the panic error
    
    * default hook invoke position + minor style changes
    gvbgduh authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a806657 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3ffcf65 View commit details
    Browse the repository at this point in the history
  13. rust 1.78 compatibility (kaspanet#467)

    aspect authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    40734e7 View commit details
    Browse the repository at this point in the history
  14. WASM SDK update, public node resolver and TypeScript bindings (kaspan…

    …et#459)
    
    * using IConnectOptions struct instead of Jsvalue for socket connection
    
    * Cargo.lock
    
    * WIP - initial Wallet API typescript bindings
    
    * WIP - Wallet API typescript bindings
    
    * typescript setup
    
    * TS related issue
    
    * relocate TypeScript StringArray to kaspa_consensus_wasm
    
    * Update deploy GitHub Action to use folders inside WASM archives
    
    * WIP: TSDoc setup
    
    * WIP: TSdoc
    
    * build-docs updated for typedoc uses
    
    * XPublicKey toString/fromString support for JS
    
    * WASM + Wallet API refactoring for TypeScript
    
    * rearrange nodejs JS/TS examples
    
    * moved ts files to src dir
    
    * rpc frame size
    
    * utxo context listener tests
    
    * WIP - public node wRPC beacons
    
    * fix TS merge
    
    * refactor/restructure past typedoc merge
    
    * Add a warning on build-node-dev
    
    * cleanup
    
    * utxo events issue
    
    * rename README
    
    * rename README
    
    * WIP - typescript bindings and related refactoring
    
    * code formatting
    
    * wasm32-sdk feature gate
    
    * wasm32-sdk feature gating TS/JS-side APIs and types; typedoc handling in macros; relocate wasm RpcClient API into kaspa-wrpc-wasm;
    
    * documentation parsing
    
    * refactor typescript types & JS/TS examples
    
    * simplify HexString (typescript type)
    
    * doc processing in macros
    
    * wRPC Beacon
    
    * #!/bin/bash headers for bash scripts
    
    * wRPC Beacon Cargo.toml update
    
    * WASM wRPC Beacon
    
    * INetworkId type
    
    * toString for XPrv
    
    * renaming SerdeJson to Json
    
    * fix wasm32-sdk propagation
    
    * fix wasm32-sdk propagation
    
    * WIP JS examples
    
    * code formatting
    
    * fix beacon config loading
    
    * updating examples init script
    
    * SerdeJson renaming
    
    * WIP TS: rename XPxxKey to PxxKeyGenerator
    
    * module rename
    
    * finish merging with master
    
    * build*-dev warning text
    
    * WIP: Wallet API updates
    
    * wasm32-sdk infra
    
    * fix IndexMap "deprecated" warning in orphan processing
    
    * kaspa-beacon CORS handling
    
    * Prefix : ktrv, ktub
    
    * key generator (xprv,xpub, signer, keypair) moved to wallet/core/wasm
    
    * XPrv creation from string (xprvxxxx), examples
    
    * change wallet xpub example
    
    * restructure docs location
    
    * hex serialization for RPC components
    
    * WASM32 SDK examples (WIP)
    
    * code formatting
    
    * set /test and /check bash scripts to use -e for immediate exit on failure
    
    * rename from_str to from_xprv_str (clippy)
    
    * wasm32-sdk changelog
    
    * CI updates for wasm32-sdk
    
    * WASM32 SDK CHANGELOG updates
    
    * WIP RPC & Wallet event types
    
    * code formatting
    
    * docs
    
    * Segregating wallet core from keys crates (WASM32 WIP)
    
    * WIP WASM32 release
    
    * WIP WASM32 release
    
    * WIP WASM32 structure
    
    * WASM32 rename packages
    
    * docs
    
    * fix build scripts
    
    * script updates
    
    * fix gitignore
    
    * update kaspa-beacon; fix misc issues, improve election algorithm;
    
    * display error in case of metrics failure
    
    * rename client-side Beacon to Resolver; impl related WASM32 bindings and handling for RpcClient and Resolver
    
    * WASM32 wRPC addEventListener() handling & misc bug fixes
    
    * mix fixes, docs, update WASM32 examples to use updated APIs
    
    * update WASM32 examples
    
    * replace EventDispatcher with localized event handlers
    
    * Refactor wasm event listeners (RPC, UtxoProcessor, Wallet) + update LICENSE
    
    * Support contexts in event listeners
    
    * additional TypeScript interfaces and docs
    
    * WASM32 changelog updates
    
    * WASM32 release scripts
    
    * Kaspa Beacon - tentative access lists
    
    * Kaspa Beacon ACL
    
    * Kaspa Beacon ACLs
    
    * Fix parsing issues with typedoc
    
    * Fix TypeDoc parsing issues
    
    * WASM32 updates to UtxoProcessor (ctors, UTXO access)
    
    * misc UtxoContext updates
    
    * fix typo in cli wizard
    
    * WASM32 - refactor key APIs; fix GetBalancesByAddresses conversion; rename IXxx types to XxxT (convention).
    
    * WASM32 / client - additional key management APIs
    
    * WASM32 Wallet API
    
    * CryptoBox wrapper (+ WASM32 interface)
    
    * WASM32 - PublicKeyGenerator functions, hash functions to support plain text hashing, CryptoBox API, fix RPC shutdown/disconnect mishandling in certain cases.
    
    * Fix broken typedoc link
    
    * fix createAddresses() TS type handling
    
    * WASM32 improve UtxoProcessor restart messaging
    
    * WASM - Fix Generator priorityFee type binding
    
    * WIP - WASM CastFromJS+TryCastFromJS derive macros and traits. Refactoring JsValue casting to Rust objects. secp256k1 update to latest (pending warning resolution)
    
    * WASM - TryCastFromJs updates
    
    * Update PrvKeyDataCreateArgs to use Secret for mnemonic + related CLI changes
    
    * Fix IGeneratorSettingsObject "entries" ingest order
    
    * logging for generator testing
    
    * Generator logs
    
    * browser extension scaffolding
    
    * cleanup logging after debugging
    
    * update WASM changelog
    
    * gate wasm binding by feature
    
    * put comments back
    
    * add and rename crate
    
    * wallet transport
    
    * Change decrypt error to be more generic
    
    * impl and isolate WASM Header bindings from consensus Header
    
    * Fix From<HexString> for JsValue recursion (fixes WASM message signing)
    
    * lowercase hex
    
    * Change decryption failure error message to be more generic
    
    * Update attribute cleaner deps
    
    * Cleanup
    
    * add --weak-refs to wasm-pack
    
    * implement Wallet API accounts_ensure_default() helper
    
    * Update WASM examples/init script to the latest API changes
    
    * Fix typescript mixed array types
    
    * remove sync monitor logs
    
    * Fix mixed typescript array declarations
    
    * Add Debug to WASM event sinks
    
    * Fix grammar
    
    * re-order NetworkTypeT to NetworkType conversion due to failing native WBG enum ABI resolution during type mix (try_from_js_value)
    
    * WASM: fix multi-listener handling for RPC-subscribed events
    
    * Replace from_slice with from_digest_slice to handle warnings
    
    * cleanup logs
    
    * Fix incorrect call on wRPC client disconnect
    
    * WIP - transaction serialization and input signing
    
    * Fix txscript collision due to multiple implementations
    
    * Fix incorrect opcode enum variant name
    
    * WIP transaction serialization
    
    * PendingTransaction -> serializeXXX impl
    
    * Adapter examples (kaspanet#30)
    
    * wip: wallet extension connection
    * dark theme
    * Update Cargo.toml
    
    * docs + TransactionInput.utxo()
    
    * Fix handling of passing arrays to Generator
    
    * WIP - signing
    
    * code formatting
    
    * WASM RPC: accept extraData as hex or vec in GetBlockTemplateRequest
    
    * WASM RPC: GetBlockTemplateRequest - accept extraData as plain text instead of a hex string
    
    * WASM: remove ? from header hash interface
    
    * RpcClient: Refactor notification handling in wRPC client + add various guards around connect/disconnect and start/stop API calls
    
    * unify WASM logs with workflow-rs logger
    
    * Split connect/disconnect guards to allow concurrent disconnect while connect is pending...
    
    * cleanup logs
    
    * Stop RPC client services on connection error in fallback mode
    
    * Fix misc issues post-merge with master
    
    * wRPC add prelude to the kaspa-wrpc-client crate
    
    * add kaspa-wrpc-example-subscriber example
    
    * cleanup
    
    * add TransactionRecord.has_address() helper to check if an address is used in the transaction record
    
    * Update WASM TypeScript example for event casing and ITransactionRecord access
    
    * addEventListener event union (kaspanet#31)
    
    * Cargo.lock
    
    * rename kaspa-beacon app to kaspa-resolver
    
    * WASM wasm_bindgen bindings for TransactionRecord and a dedicated path on
    
    * Wallet Metrics event;
    retain_context(), change_network_id() and account_select() api calls;
    get_status_call() updates;
    
    * Cleanup
    
    * TS wallet events (kaspanet#32)
    
    * Apply map-based event typing on wallet events (following UtxoProcessor type design)
    * WASM: implement event type maps on RpcClient event notifications
    
    * WASM TS events - remove "All" variants;
    Wallet::set_network_id() -> wrpc_client.set_network_id();
    set_network_id() updates;
    
    * Cargo.lock
    
    * Cleanup
    
    * add Wallet::retain_context() to WASM Wallet Class
    
    * cleanup
    
    * Migrate WASM functions that use SignableTransaction to Transaction (kaspanet#33)
    
    * Migrate WASM functions that use SignableTransaction to Transaction
    
    * invalid data handling via returning error
    
    * Cargo.lock
    
    * WASM: declare events that receive undefined data
    
    * typo (kaspanet#34)
    
    * transaction.addresses getter added, SignableTransaction struct removed (kaspanet#35)
    
    * transaction.addresses getter
    
    * SignableTransaction struct removed
    
    * docs
    
    * docs
    
    * WASM changelog
    
    * master merge
    
    * docs
    
    * todo (kaspanet#36)
    
    * Todo (kaspanet#37)
    
    * Todo (kaspanet#38)
    
    * transaction.addresses getter
    
    * SignableTransaction struct removed
    
    * docs
    
    * Address.isValid(string)  : a static method for address validation
    
    * typescript docs: Optional NetworkId
    
    * Address.isValid -> Address.validate
    
    * tx.addresses getter to tx.addresses() method
    
    * transaction.addresses() updated for address creation from SPK
    
    * using NetworkTypeT instead of NetworkType
    
    * minor doc updates
    
    * Update to published workflow-rs 0.11.1
    
    * Fix unit tests and WASM SDK build process
    
    * cleanup
    
    * Fix symbols missed during the publicKey() to toPublicKey() rename.
    
    * Update README info for building WASM SDK
    
    * Update README info for building WASM SDK
    
    * Rename RPC open/close events to connect/disconnect
    
    * Add try getters for rpc in UtxoProcessor, Wallet, Wallet API
    
    * Update WASM SDK README
    
    * DIsable Account class (but keep the scaffolding for potential future re-integration)
    
    * Update WASM SDK README with instructions on how to run NodeJs examples
    
    * WalletEvent structure, wallet api example update,  (kaspanet#40)
    
    * transaction.addresses getter
    
    * SignableTransaction struct removed
    
    * docs
    
    * Address.isValid(string)  : a static method for address validation
    
    * typescript docs: Optional NetworkId
    
    * Address.isValid -> Address.validate
    
    * tx.addresses getter to tx.addresses() method
    
    * transaction.addresses() updated for address creation from SPK
    
    * using NetworkTypeT instead of NetworkType
    
    * batch mode issue
    
    * Delete mod copy.rs
    
    * AccountKind constructor, WalletApiObjectExtension helper method
    
    * TS IAccountsCreateRequest type updated using union
    * IWalletEvent "event" property renamed to "type"
    * examples/wallet.js WIP
    
    * TransactionRecord  notification structure
    
    * TransactionRecord notification structure
    
    * wallet example update
    
    * ecdsa address creation issue
    
    * create_address : ecdsa param use case
    
    * Update CHANGELOG.md
    
    * changelogs, deps version update
    
    * Update wallet.js
    
    * Update package.json
    
    * Update CLI to use a public node Resolver (kaspanet#39)
    
    * Move Tracker memory configuration message from info!() to debug!()
    
    * cleanup
    
    * cleanup
    
    * support public resolver in CLI (default server now is 'public')
    
    * lints
    
    * Update connect command to print a notice when connecting to a public node.
    Rename the local url variable.
    
    * cleanup
    
    * cleanup
    
    * Remove optional from ISerializableTransactionInput::utxo field and cleanup previousOutpoint comment
    
    * Cleanup and comments
    
    * UtxoEntry and UtxoEntryReference: toString override for js (kaspanet#41)
    
    * Fix resolver docs, improve resolver URL argument handling.
    
    * Remove IUtxosByAddressesEntry as in WASM we optimize by converting GetUtxosByAddress entries directly to UtxoEntryReference
    
    * bump MSRV to 1.78.0
    
    * CI: update arduino/setup-protoc to v3
    
    ---------
    
    Co-authored-by: Surinder Singh Matoo <surinder83singh@gmail.com>
    Co-authored-by: max143672 <biryukov.maxim.vladimirovich@yandex.ru>
    Co-authored-by: coderofstuff <114628839+coderofstuff@users.noreply.github.com>
    4 people authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8be98c1 View commit details
    Browse the repository at this point in the history
  15. Update README to reflect stability

    michaelsutton authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    28c143e View commit details
    Browse the repository at this point in the history
  16. Update README and remove mainnet mining restriction (kaspanet#477)

    * Update README and remove mainnet mining restriction
    
    * Update testnet11.md
    
    * add link to TN11 doc
    
    * add tn11 subtitle
    
    * hint when utxoindex is needed
    michaelsutton authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    6276a1c View commit details
    Browse the repository at this point in the history
  17. rustc 1.79.0 lints (kaspanet#485)

    aspect authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    3c403ee View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e03ab0f View commit details
    Browse the repository at this point in the history
  19. Add support for IP only for --rpclisten-borsh/json (kaspanet#402) (ka…

    …spanet#439)
    
    * Add support for IP only for --rpclisten-borsh/json
    
    * Fix cehck complaints
    gvbgduh authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    e5a0a7b View commit details
    Browse the repository at this point in the history
  20. Implement PSKT(Partially Signed Kaspa Transaction) (kaspanet#481)

    * initial support of pskt:
        supported roles: creator, constructor, updater, signer roles
    
    * add builder
    
    * handle combine errors
    
    * finalize
    
    * extractor
    
    * chore: typo
    
    * style: fmt
    
    * expose txid to global
    
    * chore: change version
    
    * feat: serde for optional bytes
    
    * feat: impl (de)serialization
    
    * style: fmt
    
    * add example, fixes
    
    * style: fmt
    
    * style: clippy
    
    * rollback unrelated changes
    
    * psbt -> pskt
    
    * refactor: avoid copy-paste by using recursion
    
    * docs: add description of roles
    biryukovmaxim authored and D-Stacks committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    5a8cf98 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. start

    D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    317f2fb View commit details
    Browse the repository at this point in the history
  2. start

    D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    24bd0b5 View commit details
    Browse the repository at this point in the history
  3. betterments and clean-up.

    D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d4cf257 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6efb9c4 View commit details
    Browse the repository at this point in the history
  5. Cargo.toml update for 0.13.4 release (kaspanet#404)

    * bump to 0.13.4
    
    * bump to 0.13.4
    
    * fix incorrect version due to a toolchain issue
    aspect authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6602551 View commit details
    Browse the repository at this point in the history
  6. Wallet subsystem transaction generator updates (kaspanet#400)

    * replace NetworkType with NetworkId in the tx generator and related APIs
    
    * fix url path rendering in format_url
    
    * Improve mass related errors
    
    * refactor fee handling
    
    * renaming fee variants
    
    * mass combination strategy
    
    * wip - storage mass
    
    * additional unit tests and limit checks
    
    * Introduce per-network configurable additional compound transaction compute mass (currently set to 100 on tn10 and tn11)
    
    * expand sanity checks to handle 0 value outputs
    
    * documentation updates
    
    * code formatting
    
    * Set new input sequence to 0
    
    * change aggregate input value check to use saturating_sub() to prevent potential overflows (re github feedback)
    
    * change storage mass fee calc to return u64::MAX if the resulting mass is None (re GitHub feedback)
    aspect authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c776b22 View commit details
    Browse the repository at this point in the history
  7. Misc rustdoc updates (kaspanet#405)

    aspect authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    35ea47e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0b693e8 View commit details
    Browse the repository at this point in the history
  9. merge master

    D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    86ed854 View commit details
    Browse the repository at this point in the history
  10. update cargo.toml

    D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f8a6fd2 View commit details
    Browse the repository at this point in the history
  11. Allow using a toml config file (kaspanet#429)

    * allow using a toml config file
    * linting fix, serde lowercase WrpcNetAddress
    * Fix handling of defaults, strict deserialize of config file + error message
    * Update README
    * Revert debug default, README fixes
    orgr authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d856545 View commit details
    Browse the repository at this point in the history
  12. Address Tracker for subscriptions to changed UTXOs notifications (kas…

    …panet#427)
    
    * Add an integration test covering UTXOs propagation
    
    * Refactor daemon_utxos_propagation_test()
    
    * Add heap profiling feature
    
    * Cover VirtualDaaScoreChanged notifications in test
    
    * Merge branch 'master' into rpc-memory-benchmark
    
    * Assert all changed UTXOs
    
    * Use UtxosChangedScope ctor
    
    * Make active non-blanket UtxosChanged subscription unique
    
    * Refactor broadcaster subscription unregistering
    
    * Add Display to Connection trait
    
    * Save creation of UtxosChanged address vec on listener unregistration
    
    * Reduce UtxosChangedSubscription memory footprint on mutation
    
    * Add gRPC client timeout to every request & remove tpc keep alive
    
    * Reconnect gRPC client on broken pipe
    
    * Disable gRPC server http2 keepalive
    
    * Add a test benchmarking UtxosChanged notifications memory footprint
    
    * Fix log
    
    * Merge branch 'master' into rpc-memory-benchmark
    
    * Remove tokio dependency in crate notify
    
    * Add a UtxosChanged mutation policy to the notification system
    
    * Share subscriptions between listeners and broadcasters
    
    * Replace UtxoAddress with Address
    
    * Refactor Single::mutate
    
    * Refactor `UtxosChangedSubscription` internals
    
    * Make `UtxosChangedSubscription::hash()` cheaper to compute
    
    * mimalloc
    
    * mimalloc disable purge_decommits
    
    * Add to simpa and integration tests
    
    * remove redundant unix and replace with win/linux/mac
    
    * Add comment
    
    * Add comment
    
    * Sort out features
    
    * Remove request timeout from `heap` feature
    
    * Enhance `Broadcaster` memory release and logs
    
    * Track global `UtxosChangedSubscription` count
    
    * Fix heap profile
    
    * Let the number of broadcasters in gRPC server be configurable
    
    * Identify an active and filtering UtxosChangedSubscription with a ListenerId
    
    * Give address.rs its folder
    
    * Address tracker, indexing and counting registrations
    
    * Add a sharable subscription context to the notification system
    
    * Use a subscription context in `Notification` trait and in `single::UtxosChangedSubscription`
    
    * Add an index counter and use short names
    
    * Use a subscription context in `compounded::UtxosChangedSubscription` and in `Subscription` trait
    
    * Rely on hash sets & maps instead of sorted vectors in single and compounded UtxosChanged subscriptions
    
    * fix lint
    
    * Add an optional maximum capacity to the address tracker
    
    * Introduce a mutation outcome
    
    * Remove unneeded CompoundedClone::clone_arc
    
    * Provide inner mutability to `Indexes` and `Counters`
    
    * Restore the filtering of UtxosChanged notifications based on compounded subscriptions in RPC core,  gRPC server and wRPC server
    
    * Measure memory footprint of CounterMap
    
    * Extend `UtxosChangedSubscription` inner mutability to its state
    
    * Group all wildcard `UtxosChangedSubscription` in broadcaster plan
    
    * Have kaspad use a single `SubscriptionContext`
    
    * Add event_type() to Scope
    
    * Reduce the number of mutation clones
    
    * Log some memory stats in a file
    
    * Consume the address vector of UtxosChangedScope
    
    * Retain the original address vector of a UtxosChanged mutation along the full chain of notifiers up to the IndexProcessor
    
    * Enhance the termination of all gRPC server connections
    
    * Put `UtxosChangedSubscription` state and indexes under the same lock
    
    * Some Tracker lock fairness enhancements
    
    * Preallocate static UtxosChanged subscriptions
    
    * Address new lint rules
    
    * Move memory_monitor
    
    * Silent on simnet
    
    * Add a shutdown listener to `Core`
    
    * Add a `Task` trait and implement some tasks
    
    * New daemon memory benchmark running in its own child process
    
    * Refactor `ClientPool` with a start fn returning a vector of `JoinHandle`
    
    * Add start and shutdown signaling to `ClientPool`
    
    * Add full miner, tx sender, subscriber tasks and all their sub-tasks
    
    * Use the tasks in fn utxos_changed_subscriptions_client
    
    * Cleaning
    
    * Fix a rare case potentially preventing subscriber tasks to exit
    
    * Fill the mempool up to the target
    
    * Run actual memory benchmarks
    
    * Add a main task to `TasksRunner`
    
    * Move tasks
    
    * Move tasks (2)
    
    * Rename full to group
    
    * Rename full to group (2)
    
    * Fix cargo syntax error
    
    * Add a stopper status to some tasks
    
    * Let the main task run before adding sub tasks that need it alive
    
    * Mempool benchmark based on tasks
    
    * Small adjustments on the utxos changed subscribe benchmark
    
    * Prevent a race condition
    
    * Refactor
    
    * Move the core shutdown request signaling into `RpcCoreService`
    
    * Add a signal indicating the gRPC server has started
    
    * Recycle emptied tracker entries
    
    * Add `max-tracked-addresses` argument
    
    * Rename `UtxosChangedMutationPolicy` `AllOrNothing` to `Wildcard`
    
    * Cleaning: remove R&D code
    
    * Merge branch 'master' into address-tracker-subscriptions
    
    * Some comments and documentation
    
    * Use a preset listener id in direct mode
    
    * Add lower and upper bounds to the tracker max address count & change the default value
    
    * For each event type the notifier can have at most one subscriber
    
    * Add and document `GrpcClient::connect_with_args`
    
    * Some doc
    
    * Complete `UtxosChangedMutationPolicy` description
    
    * Validate --max-tracked-addresses argument
    
    * remove unused AddressesHash
    
    * fix minor warnings under `devnet-prealloc` feature code
    tiram88 authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    89821df View commit details
    Browse the repository at this point in the history
  13. Fix for the pruning proof rebuild issue (issue kaspanet#444) (kaspane…

    …t#449)
    
    * add a strict assertion which should catch the pruning bug before actual data is pruned
    
    * possible fix: add `block_at_depth_2m` as an additional traversal root
    
    * rollback: rollback the previous fix since it's not the root cause
    
    * add additional dbg info to assertion
    
    * bug fix: write level relations for trusted blocks (blocks in the pruning point anticone of a newly synced node)
    
    * enable mainnet mining by default
    
    * simplify kip 9 beta condition + more mass tests
    
    * set default tracked addresses to 1M
    
    * fix tracker prealloc property + adds compile time assertion for upper bound
    michaelsutton authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5d815df View commit details
    Browse the repository at this point in the history
  14. WASM SDK update, public node resolver and TypeScript bindings (kaspan…

    …et#459)
    
    * using IConnectOptions struct instead of Jsvalue for socket connection
    
    * Cargo.lock
    
    * WIP - initial Wallet API typescript bindings
    
    * WIP - Wallet API typescript bindings
    
    * typescript setup
    
    * TS related issue
    
    * relocate TypeScript StringArray to kaspa_consensus_wasm
    
    * Update deploy GitHub Action to use folders inside WASM archives
    
    * WIP: TSDoc setup
    
    * WIP: TSdoc
    
    * build-docs updated for typedoc uses
    
    * XPublicKey toString/fromString support for JS
    
    * WASM + Wallet API refactoring for TypeScript
    
    * rearrange nodejs JS/TS examples
    
    * moved ts files to src dir
    
    * rpc frame size
    
    * utxo context listener tests
    
    * WIP - public node wRPC beacons
    
    * fix TS merge
    
    * refactor/restructure past typedoc merge
    
    * Add a warning on build-node-dev
    
    * cleanup
    
    * utxo events issue
    
    * rename README
    
    * rename README
    
    * WIP - typescript bindings and related refactoring
    
    * code formatting
    
    * wasm32-sdk feature gate
    
    * wasm32-sdk feature gating TS/JS-side APIs and types; typedoc handling in macros; relocate wasm RpcClient API into kaspa-wrpc-wasm;
    
    * documentation parsing
    
    * refactor typescript types & JS/TS examples
    
    * simplify HexString (typescript type)
    
    * doc processing in macros
    
    * wRPC Beacon
    
    * #!/bin/bash headers for bash scripts
    
    * wRPC Beacon Cargo.toml update
    
    * WASM wRPC Beacon
    
    * INetworkId type
    
    * toString for XPrv
    
    * renaming SerdeJson to Json
    
    * fix wasm32-sdk propagation
    
    * fix wasm32-sdk propagation
    
    * WIP JS examples
    
    * code formatting
    
    * fix beacon config loading
    
    * updating examples init script
    
    * SerdeJson renaming
    
    * WIP TS: rename XPxxKey to PxxKeyGenerator
    
    * module rename
    
    * finish merging with master
    
    * build*-dev warning text
    
    * WIP: Wallet API updates
    
    * wasm32-sdk infra
    
    * fix IndexMap "deprecated" warning in orphan processing
    
    * kaspa-beacon CORS handling
    
    * Prefix : ktrv, ktub
    
    * key generator (xprv,xpub, signer, keypair) moved to wallet/core/wasm
    
    * XPrv creation from string (xprvxxxx), examples
    
    * change wallet xpub example
    
    * restructure docs location
    
    * hex serialization for RPC components
    
    * WASM32 SDK examples (WIP)
    
    * code formatting
    
    * set /test and /check bash scripts to use -e for immediate exit on failure
    
    * rename from_str to from_xprv_str (clippy)
    
    * wasm32-sdk changelog
    
    * CI updates for wasm32-sdk
    
    * WASM32 SDK CHANGELOG updates
    
    * WIP RPC & Wallet event types
    
    * code formatting
    
    * docs
    
    * Segregating wallet core from keys crates (WASM32 WIP)
    
    * WIP WASM32 release
    
    * WIP WASM32 release
    
    * WIP WASM32 structure
    
    * WASM32 rename packages
    
    * docs
    
    * fix build scripts
    
    * script updates
    
    * fix gitignore
    
    * update kaspa-beacon; fix misc issues, improve election algorithm;
    
    * display error in case of metrics failure
    
    * rename client-side Beacon to Resolver; impl related WASM32 bindings and handling for RpcClient and Resolver
    
    * WASM32 wRPC addEventListener() handling & misc bug fixes
    
    * mix fixes, docs, update WASM32 examples to use updated APIs
    
    * update WASM32 examples
    
    * replace EventDispatcher with localized event handlers
    
    * Refactor wasm event listeners (RPC, UtxoProcessor, Wallet) + update LICENSE
    
    * Support contexts in event listeners
    
    * additional TypeScript interfaces and docs
    
    * WASM32 changelog updates
    
    * WASM32 release scripts
    
    * Kaspa Beacon - tentative access lists
    
    * Kaspa Beacon ACL
    
    * Kaspa Beacon ACLs
    
    * Fix parsing issues with typedoc
    
    * Fix TypeDoc parsing issues
    
    * WASM32 updates to UtxoProcessor (ctors, UTXO access)
    
    * misc UtxoContext updates
    
    * fix typo in cli wizard
    
    * WASM32 - refactor key APIs; fix GetBalancesByAddresses conversion; rename IXxx types to XxxT (convention).
    
    * WASM32 / client - additional key management APIs
    
    * WASM32 Wallet API
    
    * CryptoBox wrapper (+ WASM32 interface)
    
    * WASM32 - PublicKeyGenerator functions, hash functions to support plain text hashing, CryptoBox API, fix RPC shutdown/disconnect mishandling in certain cases.
    
    * Fix broken typedoc link
    
    * fix createAddresses() TS type handling
    
    * WASM32 improve UtxoProcessor restart messaging
    
    * WASM - Fix Generator priorityFee type binding
    
    * WIP - WASM CastFromJS+TryCastFromJS derive macros and traits. Refactoring JsValue casting to Rust objects. secp256k1 update to latest (pending warning resolution)
    
    * WASM - TryCastFromJs updates
    
    * Update PrvKeyDataCreateArgs to use Secret for mnemonic + related CLI changes
    
    * Fix IGeneratorSettingsObject "entries" ingest order
    
    * logging for generator testing
    
    * Generator logs
    
    * browser extension scaffolding
    
    * cleanup logging after debugging
    
    * update WASM changelog
    
    * gate wasm binding by feature
    
    * put comments back
    
    * add and rename crate
    
    * wallet transport
    
    * Change decrypt error to be more generic
    
    * impl and isolate WASM Header bindings from consensus Header
    
    * Fix From<HexString> for JsValue recursion (fixes WASM message signing)
    
    * lowercase hex
    
    * Change decryption failure error message to be more generic
    
    * Update attribute cleaner deps
    
    * Cleanup
    
    * add --weak-refs to wasm-pack
    
    * implement Wallet API accounts_ensure_default() helper
    
    * Update WASM examples/init script to the latest API changes
    
    * Fix typescript mixed array types
    
    * remove sync monitor logs
    
    * Fix mixed typescript array declarations
    
    * Add Debug to WASM event sinks
    
    * Fix grammar
    
    * re-order NetworkTypeT to NetworkType conversion due to failing native WBG enum ABI resolution during type mix (try_from_js_value)
    
    * WASM: fix multi-listener handling for RPC-subscribed events
    
    * Replace from_slice with from_digest_slice to handle warnings
    
    * cleanup logs
    
    * Fix incorrect call on wRPC client disconnect
    
    * WIP - transaction serialization and input signing
    
    * Fix txscript collision due to multiple implementations
    
    * Fix incorrect opcode enum variant name
    
    * WIP transaction serialization
    
    * PendingTransaction -> serializeXXX impl
    
    * Adapter examples (kaspanet#30)
    
    * wip: wallet extension connection
    * dark theme
    * Update Cargo.toml
    
    * docs + TransactionInput.utxo()
    
    * Fix handling of passing arrays to Generator
    
    * WIP - signing
    
    * code formatting
    
    * WASM RPC: accept extraData as hex or vec in GetBlockTemplateRequest
    
    * WASM RPC: GetBlockTemplateRequest - accept extraData as plain text instead of a hex string
    
    * WASM: remove ? from header hash interface
    
    * RpcClient: Refactor notification handling in wRPC client + add various guards around connect/disconnect and start/stop API calls
    
    * unify WASM logs with workflow-rs logger
    
    * Split connect/disconnect guards to allow concurrent disconnect while connect is pending...
    
    * cleanup logs
    
    * Stop RPC client services on connection error in fallback mode
    
    * Fix misc issues post-merge with master
    
    * wRPC add prelude to the kaspa-wrpc-client crate
    
    * add kaspa-wrpc-example-subscriber example
    
    * cleanup
    
    * add TransactionRecord.has_address() helper to check if an address is used in the transaction record
    
    * Update WASM TypeScript example for event casing and ITransactionRecord access
    
    * addEventListener event union (kaspanet#31)
    
    * Cargo.lock
    
    * rename kaspa-beacon app to kaspa-resolver
    
    * WASM wasm_bindgen bindings for TransactionRecord and a dedicated path on
    
    * Wallet Metrics event;
    retain_context(), change_network_id() and account_select() api calls;
    get_status_call() updates;
    
    * Cleanup
    
    * TS wallet events (kaspanet#32)
    
    * Apply map-based event typing on wallet events (following UtxoProcessor type design)
    * WASM: implement event type maps on RpcClient event notifications
    
    * WASM TS events - remove "All" variants;
    Wallet::set_network_id() -> wrpc_client.set_network_id();
    set_network_id() updates;
    
    * Cargo.lock
    
    * Cleanup
    
    * add Wallet::retain_context() to WASM Wallet Class
    
    * cleanup
    
    * Migrate WASM functions that use SignableTransaction to Transaction (kaspanet#33)
    
    * Migrate WASM functions that use SignableTransaction to Transaction
    
    * invalid data handling via returning error
    
    * Cargo.lock
    
    * WASM: declare events that receive undefined data
    
    * typo (kaspanet#34)
    
    * transaction.addresses getter added, SignableTransaction struct removed (kaspanet#35)
    
    * transaction.addresses getter
    
    * SignableTransaction struct removed
    
    * docs
    
    * docs
    
    * WASM changelog
    
    * master merge
    
    * docs
    
    * todo (kaspanet#36)
    
    * Todo (kaspanet#37)
    
    * Todo (kaspanet#38)
    
    * transaction.addresses getter
    
    * SignableTransaction struct removed
    
    * docs
    
    * Address.isValid(string)  : a static method for address validation
    
    * typescript docs: Optional NetworkId
    
    * Address.isValid -> Address.validate
    
    * tx.addresses getter to tx.addresses() method
    
    * transaction.addresses() updated for address creation from SPK
    
    * using NetworkTypeT instead of NetworkType
    
    * minor doc updates
    
    * Update to published workflow-rs 0.11.1
    
    * Fix unit tests and WASM SDK build process
    
    * cleanup
    
    * Fix symbols missed during the publicKey() to toPublicKey() rename.
    
    * Update README info for building WASM SDK
    
    * Update README info for building WASM SDK
    
    * Rename RPC open/close events to connect/disconnect
    
    * Add try getters for rpc in UtxoProcessor, Wallet, Wallet API
    
    * Update WASM SDK README
    
    * DIsable Account class (but keep the scaffolding for potential future re-integration)
    
    * Update WASM SDK README with instructions on how to run NodeJs examples
    
    * WalletEvent structure, wallet api example update,  (kaspanet#40)
    
    * transaction.addresses getter
    
    * SignableTransaction struct removed
    
    * docs
    
    * Address.isValid(string)  : a static method for address validation
    
    * typescript docs: Optional NetworkId
    
    * Address.isValid -> Address.validate
    
    * tx.addresses getter to tx.addresses() method
    
    * transaction.addresses() updated for address creation from SPK
    
    * using NetworkTypeT instead of NetworkType
    
    * batch mode issue
    
    * Delete mod copy.rs
    
    * AccountKind constructor, WalletApiObjectExtension helper method
    
    * TS IAccountsCreateRequest type updated using union
    * IWalletEvent "event" property renamed to "type"
    * examples/wallet.js WIP
    
    * TransactionRecord  notification structure
    
    * TransactionRecord notification structure
    
    * wallet example update
    
    * ecdsa address creation issue
    
    * create_address : ecdsa param use case
    
    * Update CHANGELOG.md
    
    * changelogs, deps version update
    
    * Update wallet.js
    
    * Update package.json
    
    * Update CLI to use a public node Resolver (kaspanet#39)
    
    * Move Tracker memory configuration message from info!() to debug!()
    
    * cleanup
    
    * cleanup
    
    * support public resolver in CLI (default server now is 'public')
    
    * lints
    
    * Update connect command to print a notice when connecting to a public node.
    Rename the local url variable.
    
    * cleanup
    
    * cleanup
    
    * Remove optional from ISerializableTransactionInput::utxo field and cleanup previousOutpoint comment
    
    * Cleanup and comments
    
    * UtxoEntry and UtxoEntryReference: toString override for js (kaspanet#41)
    
    * Fix resolver docs, improve resolver URL argument handling.
    
    * Remove IUtxosByAddressesEntry as in WASM we optimize by converting GetUtxosByAddress entries directly to UtxoEntryReference
    
    * bump MSRV to 1.78.0
    
    * CI: update arduino/setup-protoc to v3
    
    ---------
    
    Co-authored-by: Surinder Singh Matoo <surinder83singh@gmail.com>
    Co-authored-by: max143672 <biryukov.maxim.vladimirovich@yandex.ru>
    Co-authored-by: coderofstuff <114628839+coderofstuff@users.noreply.github.com>
    4 people authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    289af33 View commit details
    Browse the repository at this point in the history
  15. Implement PSKT(Partially Signed Kaspa Transaction) (kaspanet#481)

    * initial support of pskt:
        supported roles: creator, constructor, updater, signer roles
    
    * add builder
    
    * handle combine errors
    
    * finalize
    
    * extractor
    
    * chore: typo
    
    * style: fmt
    
    * expose txid to global
    
    * chore: change version
    
    * feat: serde for optional bytes
    
    * feat: impl (de)serialization
    
    * style: fmt
    
    * add example, fixes
    
    * style: fmt
    
    * style: clippy
    
    * rollback unrelated changes
    
    * psbt -> pskt
    
    * refactor: avoid copy-paste by using recursion
    
    * docs: add description of roles
    biryukovmaxim authored and D-Stacks committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    556f8d1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c854524 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. clean-up

    D-Stacks committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    154cba3 View commit details
    Browse the repository at this point in the history