-
Notifications
You must be signed in to change notification settings - Fork 146
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
base: master
Are you sure you want to change the base?
Txindex #401
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fc81cb5 - Browse repository at this point
Copy the full SHA fc81cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0216992 - Browse repository at this point
Copy the full SHA 0216992View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddf8d98 - Browse repository at this point
Copy the full SHA ddf8d98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aeeba1 - Browse repository at this point
Copy the full SHA 7aeeba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65a6196 - Browse repository at this point
Copy the full SHA 65a6196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79470a4 - Browse repository at this point
Copy the full SHA 79470a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa3e218 - Browse repository at this point
Copy the full SHA fa3e218View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73ad8b9 - Browse repository at this point
Copy the full SHA 73ad8b9View commit details
Commits on Jan 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 451bb87 - Browse repository at this point
Copy the full SHA 451bb87View commit details -
Configuration menu - View commit details
-
Copy full SHA for b63e72a - Browse repository at this point
Copy the full SHA b63e72aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be17b54 - Browse repository at this point
Copy the full SHA be17b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for a890241 - Browse repository at this point
Copy the full SHA a890241View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fe2f85 - Browse repository at this point
Copy the full SHA 0fe2f85View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for bfc724b - Browse repository at this point
Copy the full SHA bfc724bView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 52e95dc - Browse repository at this point
Copy the full SHA 52e95dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa02f9 - Browse repository at this point
Copy the full SHA 6fa02f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c67d58 - Browse repository at this point
Copy the full SHA 8c67d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 498b6c1 - Browse repository at this point
Copy the full SHA 498b6c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2b32b8 - Browse repository at this point
Copy the full SHA f2b32b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 947903e - Browse repository at this point
Copy the full SHA 947903eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 31ee035 - Browse repository at this point
Copy the full SHA 31ee035View commit details -
Configuration menu - View commit details
-
Copy full SHA for eca6438 - Browse repository at this point
Copy the full SHA eca6438View commit details -
Configuration menu - View commit details
-
Copy full SHA for af93e5a - Browse repository at this point
Copy the full SHA af93e5aView commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3273bf - Browse repository at this point
Copy the full SHA e3273bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddf6de3 - Browse repository at this point
Copy the full SHA ddf6de3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 923a982 - Browse repository at this point
Copy the full SHA 923a982View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f42059 - Browse repository at this point
Copy the full SHA 2f42059View commit details -
Configuration menu - View commit details
-
Copy full SHA for f26daac - Browse repository at this point
Copy the full SHA f26daacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76a66fb - Browse repository at this point
Copy the full SHA 76a66fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for eff01cb - Browse repository at this point
Copy the full SHA eff01cbView commit details
Commits on Jan 25, 2024
-
make txindex recover from pruning interruptions again - introduce con…
…cept of `exact` source.
Configuration menu - View commit details
-
Copy full SHA for d481ef4 - Browse repository at this point
Copy the full SHA d481ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2a7622 - Browse repository at this point
Copy the full SHA c2a7622View commit details -
Configuration menu - View commit details
-
Copy full SHA for dada60e - Browse repository at this point
Copy the full SHA dada60eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af2dbee - Browse repository at this point
Copy the full SHA af2dbeeView commit details
Commits on Jan 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df13f3a - Browse repository at this point
Copy the full SHA df13f3aView commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 92ac0c3 - Browse repository at this point
Copy the full SHA 92ac0c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0347cc0 - Browse repository at this point
Copy the full SHA 0347cc0View commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0fcaea0 - Browse repository at this point
Copy the full SHA 0fcaea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8397edb - Browse repository at this point
Copy the full SHA 8397edbView commit details
Commits on Jul 10, 2024
-
Fix max difficulty bound (kaspanet#423)
* use max difficulty bound as expected * Fix dep wrokspace typo * bump version to 0.13.5
Configuration menu - View commit details
-
Copy full SHA for 6e2d1f3 - Browse repository at this point
Copy the full SHA 6e2d1f3View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 179f1b7 - Browse repository at this point
Copy the full SHA 179f1b7View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1bb7edb - Browse repository at this point
Copy the full SHA 1bb7edbView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4d4a391 - Browse repository at this point
Copy the full SHA 4d4a391View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5309c7d - Browse repository at this point
Copy the full SHA 5309c7dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 11a7ccf - Browse repository at this point
Copy the full SHA 11a7ccfView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a801260 - Browse repository at this point
Copy the full SHA a801260View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8220aaa - Browse repository at this point
Copy the full SHA 8220aaaView commit details -
chore: remove repetitive words (kaspanet#447)
Signed-off-by: wanshuangcheng <wanshuangcheng@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for a838686 - Browse repository at this point
Copy the full SHA a838686View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f0d2b98 - Browse repository at this point
Copy the full SHA f0d2b98View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a806657 - Browse repository at this point
Copy the full SHA a806657View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ffcf65 - Browse repository at this point
Copy the full SHA 3ffcf65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40734e7 - Browse repository at this point
Copy the full SHA 40734e7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8be98c1 - Browse repository at this point
Copy the full SHA 8be98c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28c143e - Browse repository at this point
Copy the full SHA 28c143eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6276a1c - Browse repository at this point
Copy the full SHA 6276a1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c403ee - Browse repository at this point
Copy the full SHA 3c403eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e03ab0f - Browse repository at this point
Copy the full SHA e03ab0fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e5a0a7b - Browse repository at this point
Copy the full SHA e5a0a7bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5a8cf98 - Browse repository at this point
Copy the full SHA 5a8cf98View commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 317f2fb - Browse repository at this point
Copy the full SHA 317f2fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24bd0b5 - Browse repository at this point
Copy the full SHA 24bd0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4cf257 - Browse repository at this point
Copy the full SHA d4cf257View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6efb9c4 - Browse repository at this point
Copy the full SHA 6efb9c4View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6602551 - Browse repository at this point
Copy the full SHA 6602551View commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for c776b22 - Browse repository at this point
Copy the full SHA c776b22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ea47e - Browse repository at this point
Copy the full SHA 35ea47eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b693e8 - Browse repository at this point
Copy the full SHA 0b693e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86ed854 - Browse repository at this point
Copy the full SHA 86ed854View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a6fd2 - Browse repository at this point
Copy the full SHA f8a6fd2View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d856545 - Browse repository at this point
Copy the full SHA d856545View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 89821df - Browse repository at this point
Copy the full SHA 89821dfView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5d815df - Browse repository at this point
Copy the full SHA 5d815dfView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 289af33 - Browse repository at this point
Copy the full SHA 289af33View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 556f8d1 - Browse repository at this point
Copy the full SHA 556f8d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c854524 - Browse repository at this point
Copy the full SHA c854524View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 154cba3 - Browse repository at this point
Copy the full SHA 154cba3View commit details