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

KOS & CLI #236

Merged
merged 776 commits into from
Aug 22, 2023
Merged

KOS & CLI #236

merged 776 commits into from
Aug 22, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 31, 2023

  1. wip - generator change & fees

    aspect committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    1cea7e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b645941 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a02ca45 View commit details
    Browse the repository at this point in the history
  4. Add page size and memory usage in bytes to perf_monitor

    This commit adds `page_size` as a parameter in several function definitions in `builder.rs`. It also adds counters to track `resident_set_size_bytes` and `virtual_memory_size_bytes` in `counters.rs`. These changes are designed to enable accurate memory monitoring and provide additional details about memory usage. The new `page_size` parameter allows us to associate memory usage with the page size, which will be helpful for monitoring and troubleshooting.
    
    The `page_size` crate has also been added to `Cargo.toml` to manage the retrieval of system's memory page size. This addition is part of the effort to accurately track and report memory usage in bytes.
    biryukovmaxim committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    31b77eb View commit details
    Browse the repository at this point in the history
  5. Add performance monitoring to RPC

    In this commit, we have integrated the performance monitoring module into the RPC layer of our application. The PerfMonitor module is now added as a dependency in various Cargo.toml files, and methods related to performance monitoring have been added/updated in several .rs files. This allows us to collect various metrics related to our application's performance, including memory usage, CPU usage, disc I/O, etc. which will help in evaluating our software's efficiency. We chose to collect these specific metrics as they give a comprehensive overview of the software's performance and can help us detect potential bottlenecks or issues. We have also updated the ProcessMetrics structure to include these new metrics.
    biryukovmaxim committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    b3faea1 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3 from biryukovmaxim/get-metrics

    Get metrics
    aspect authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    c7e1519 View commit details
    Browse the repository at this point in the history
  7. wip - metrics

    aspect committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    5ed0e45 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    209ea90 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    afd1501 View commit details
    Browse the repository at this point in the history
  10. wip - kos metrics

    aspect committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    25993d2 View commit details
    Browse the repository at this point in the history
  11. wip - metrics

    aspect committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    bf8e574 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f9fd251 View commit details
    Browse the repository at this point in the history
  13. clippy

    aspect committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    07f6f4c View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. wip - metrics (add 2hrs span)

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    eb3988d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ca10bc View commit details
    Browse the repository at this point in the history
  3. cleanup

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    ea404f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b34cac3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b795b51 View commit details
    Browse the repository at this point in the history
  6. wip - general refactoring

    kos cli (wizards), rearrange cli commands, usage of term().help() where appropriate, metrics (testing), misc wallet operations bugfixes.
    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    0aade21 View commit details
    Browse the repository at this point in the history
  7. wip - account ident renaming

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    f5277ca View commit details
    Browse the repository at this point in the history
  8. wip - utxo groupting for tx

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    c0baf1a View commit details
    Browse the repository at this point in the history
  9. wip - fix node sync monito

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    ebabdd4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8ef2596 View commit details
    Browse the repository at this point in the history
  11. disable background console

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    28270f1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a3664fb View commit details
    Browse the repository at this point in the history
  13. mutation lock issue

    surinder83singh committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    7a3852b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8302ca6 View commit details
    Browse the repository at this point in the history
  15. cli - fix account selection

    aspect committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    6465151 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    737c4e6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    039a564 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    82777dd View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. wip - generator signer

    aspect committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    a1f8c21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8455f6 View commit details
    Browse the repository at this point in the history
  3. wip - cli rpc handler

    aspect committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    513347b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7558b7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9926740 View commit details
    Browse the repository at this point in the history
  6. Remove "page_size" and related counters from "perf_monitor"

    The "page_size" attribute and its related attributes "resident_set_size_bytes" and "virutal_memory_size_bytes" have been removed from the performance monitor (perf_monitor) module. These counters were found to be unnecessary and their removal improves the simplicity and readability of the module. This change has also led to the removal of the "page_size" package from the dependencies.
    biryukovmaxim committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    869ae2f View commit details
    Browse the repository at this point in the history
  7. Merge pull request #4 from biryukovmaxim/fix-mem-usage

    Remove "page_size" and related counters from "perf_monitor"
    aspect authored Aug 2, 2023
    Configuration menu
    Copy the full SHA
    c6420bb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    28516f1 View commit details
    Browse the repository at this point in the history
  9. wip: tx generator

    surinder83singh committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    61c0db9 View commit details
    Browse the repository at this point in the history
  10. cli - monitor command

    aspect committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    cc36825 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dc36363 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5d3fff6 View commit details
    Browse the repository at this point in the history
  13. generator docs

    aspect committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    648c21c View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    98602d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e94f80e View commit details
    Browse the repository at this point in the history
  3. native cli - cleanup logs

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    acaa38d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c84bb4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ade869 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    968c9a6 View commit details
    Browse the repository at this point in the history
  7. kos - miner throttle setting

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    a345451 View commit details
    Browse the repository at this point in the history
  8. wip - legacy account scans

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    0f8553e View commit details
    Browse the repository at this point in the history
  9. wip - imports

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    1779157 View commit details
    Browse the repository at this point in the history
  10. tx mass calculator for WASM

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    d75ba31 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    69faf42 View commit details
    Browse the repository at this point in the history
  12. wip - wallet imports

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    1241bff View commit details
    Browse the repository at this point in the history
  13. metrics - basic tps indicator

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    dbea9a1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0b6d740 View commit details
    Browse the repository at this point in the history
  15. wip - metrics retention

    aspect committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    c63ac2d View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Configuration menu
    Copy the full SHA
    a64ff79 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5 from aspectron/fix-virtual-memory-size

    fix filling virtual memory size
    biryukovmaxim authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    86fc18c View commit details
    Browse the repository at this point in the history
  3. wallet - utxo processor - fix misc issues in utxo processor handling;…

    … extend pending transactions; fix issues in utxo iterator; improve event formatting;
    aspect committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    14b19af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2135497 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d681cb1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    db02756 View commit details
    Browse the repository at this point in the history
  7. wip - kos README

    aspect committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    a98c910 View commit details
    Browse the repository at this point in the history
  8. kos - metrics toolbar styling

    aspect committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    8164f5e View commit details
    Browse the repository at this point in the history
  9. cleanup

    aspect committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    0f4690c View commit details
    Browse the repository at this point in the history
  10. cleanup

    aspect committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    6e31a95 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2023

  1. cleanup

    aspect committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    1f452a0 View commit details
    Browse the repository at this point in the history
  2. cleanup

    aspect committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    ac85f45 View commit details
    Browse the repository at this point in the history
  3. cleanup and comments

    aspect committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    3d1db9b View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. refactor tx storage to use outgoing transactions, refactor metrics da…

    …ta submission to use raw f64 values, history list vs details; propagate additional data through PendingTransaction and GeneratorSummary.
    aspect committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    8059fea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92e47e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90c3934 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3239d41 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. guide and general cleanup

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    d142076 View commit details
    Browse the repository at this point in the history
  2. wallet storage - version

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    db47acd View commit details
    Browse the repository at this point in the history
  3. cleanup

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    0bc6153 View commit details
    Browse the repository at this point in the history
  4. kos - guide

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    13f12a8 View commit details
    Browse the repository at this point in the history
  5. kos - README

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    9098ae3 View commit details
    Browse the repository at this point in the history
  6. main workspace README update

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    88e11d9 View commit details
    Browse the repository at this point in the history
  7. cleanup

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    e03e88a View commit details
    Browse the repository at this point in the history
  8. published workflow-rs 0.4.0

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    8721590 View commit details
    Browse the repository at this point in the history
  9. kos - improve autoconnect

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c87f91d View commit details
    Browse the repository at this point in the history
  10. wallet framework event docs

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c7f7b45 View commit details
    Browse the repository at this point in the history
  11. cli - fix typo

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    f78634d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    73cb150 View commit details
    Browse the repository at this point in the history
  13. kos - cleanup logs

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    88ab460 View commit details
    Browse the repository at this point in the history
  14. fix lints

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    fd66262 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c91c730 View commit details
    Browse the repository at this point in the history
  16. fix wallet storage unit test

    aspect committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    7df1bc7 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Configuration menu
    Copy the full SHA
    79c6543 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4d33cc View commit details
    Browse the repository at this point in the history
  3. js-api - estimateTransactions

    aspect committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    d4bea87 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    39e761a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a9d9cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c4ab87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3877214 View commit details
    Browse the repository at this point in the history
  5. Add test for transaction bincode serialization

    Added a new test function, `test_transaction_bincode`, in `consensus/core/src/tx.rs`. The test case covers the serialization of a transaction structure into bincode and subsequent deserialization. This is beneficial for ensuring the correctness and consistency of the serialization and deserialization processes within our blockchain consensus mechanism.
    biryukovmaxim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    f064e93 View commit details
    Browse the repository at this point in the history
  6. Refactor Hash serialization and deserialization

    Updated how Hash is serialized and deserialized in crypto/hashes/src/lib.rs.
    biryukovmaxim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    ee67071 View commit details
    Browse the repository at this point in the history
  7. Add serde_bytes module for handling byte arrays

    This commit introduces a new module called `serde_bytes`. The new module contains two inner modules: `ser` and `de`.
    These are for Serde's `Serialize` and `Deserialize`traits respectively. The `ser` module has a `serialize` function for
    human-readable and non-human-readable versions of byte arrays. The `de` module essentially does the opposite and contains
    a function to deserialize the byte arrays. They both utilize faster_hex library for efficient conversion. This was done
    to abstract away byte array serialization/deserialization logic to a separate unit of the project, enhancing modularity
    and code organization.
    biryukovmaxim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    503f16f View commit details
    Browse the repository at this point in the history
  8. Improve error handling in serde_bytes implementation

    The trait Deserialize in utils/src/serde_bytes/de.rs has been updated to use TryFrom rather than From. The implementation has been updated accordingly.
    biryukovmaxim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    0eeb865 View commit details
    Browse the repository at this point in the history
  9. Update serde serialization and remove unnecessary dependencies

    use utils::serde_bytes instead of external crate serde_bytes
    biryukovmaxim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    d6ba2a3 View commit details
    Browse the repository at this point in the history
  10. tmp

    biryukovmaxim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    27b8e1a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    10d10db View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    24aef94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84c629c View commit details
    Browse the repository at this point in the history
  3. "Implement improved serialization and deserialization for fixed-size …

    …bytes"
    
    This update implements a more efficient and concise way to serialize and deserialize fixed-size bytes. It replaces previous code with a new approach that leverages macros and generic traits. The changes were made across multiple files including "subnets.rs", "tx.rs" and several in the "serde_bytes_fixed" directory.
    
    The new approach uses the macro "serde_impl_ser_fixed_bytes" and the trait "serialize", which together streamline the process of serialization. For deserialization, the "deserialize" trait and the macro "serde_impl_deser_fixed_bytes" were used.
    
    These new implementations are designed to support both human-readable and binary formats. This allows for more flexibility and efficiency in handling different types of data. In addition, they improve code coherence and maintainability, making the codebase easier to understand and modify in the future.
    biryukovmaxim committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    2d8d84b View commit details
    Browse the repository at this point in the history
  4. "Implement serialization of SubnetworkId with fixed bytes"

    SubnetworkId is now serialized using newly imported serde utilities, serde_impl_ser_fixed_bytes and serde_impl_deser_fixed_bytes instead of serde_bytes_fixed attribute.
    biryukovmaxim committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    622ecdc View commit details
    Browse the repository at this point in the history
  5. Update formatting of deserialization error message

    Modified the "expecting" function in serde_bytes_fixed/de.rs to provide clearer error messages when deserializing byte arrays. The error message now includes the expected data type in addition to the array size.
    biryukovmaxim committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    3cbe95f View commit details
    Browse the repository at this point in the history
  6. wip - refactoring JS APIs

    aspect committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    20b379c View commit details
    Browse the repository at this point in the history
  7. wip - account refactoring

    aspect committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    db65d7c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d043bfb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    59fa1e6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Refactor deserialization of hexadecimal strings

    Reduced code redundancy in serde_bytes_fixed/de.rs and serde_bytes/de.rs by introducing a FromHexVisitor struct which handles converting hexadecimal strings to their respective types. This makes the code more maintainable and easier to test. Moreover, implemented FromHex trait to ScriptPublicKey, which allows us to use our new visitor in deserialization of ScriptPublicKey.
    biryukovmaxim committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    2cf7f4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b2a1a4 View commit details
    Browse the repository at this point in the history
  3. Update deserialization for fixed-size byte arrays

    Fixed-size byte arrays now should implement AsRef<[u8; N]> in addition to FromHex and From<[u8; N]> to fit the constraints. This modification is found in the kaspa-utils library.
    This also extends the functionality of the Deserialize trait in kaspa-utils which will now support the deserialization of byte arrays of a fixed size. By doing so, the code maintaining the 'serde_impl_deser_fixed_bytes' and 'serde_impl_ser_fixed_bytes' macros to implement serialization and deserialization for byte arrays of a certain size is simplified. The method works by referencing the byte array as the fixed-size array which makes it possible to use a reference implementation instead of the usual implementation.
    Added new Deserialize trait implementation for byte arrays of length 0 to 32 and replaced fixed_bytes with fixed_bytes_ref for module hashes and tx in crypto and consensus/core respectively.
    Modified the implementation of the Serialize trait for types that can be referenced as a fixed-sized byte array which is now possible for byte arrays from a length of 0 to 32.
    An extended set of examples demonstrating how to use the proposed serialization/deserialization has been included.
    The purpose of these changes is to simplify the implementation and usage of serialization/deserialization for byte arrays of a fixed size, and to extend this functionality to a larger range of possible array sizes.
    biryukovmaxim committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    915acdb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    07f47a2 View commit details
    Browse the repository at this point in the history
  5. wip - address refactoring

    aspect committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    19a121d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #7 from biryukovmaxim/serde-bytes-as-hex-for-bytes

    Serde bytes as hex for bytes
    aspect authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    2e4d26a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    04d3391 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    815744a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fc21c99 View commit details
    Browse the repository at this point in the history
  10. js-api - generator example

    aspect committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    9dd4b40 View commit details
    Browse the repository at this point in the history
  11. js-api estimate

    aspect committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    767cd13 View commit details
    Browse the repository at this point in the history
  12. Modified utils.js to allow for more customisation, fixed issues.

    Updated simple-transaction.js to use `parseArgs`.
    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    382fae9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    60aa208 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    43b6a0e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2f653f2 View commit details
    Browse the repository at this point in the history
  16. Merge pull request #9 from aspectron/js-api-simple-transaction-parse-…

    …args
    
    Js api simple transaction parse args
    aspect authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    08af8e9 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    914ac8e View commit details
    Browse the repository at this point in the history
  18. addresses and hd-wallet

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    19e2194 View commit details
    Browse the repository at this point in the history
  19. modify header js

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    b0784bb View commit details
    Browse the repository at this point in the history
  20. formatting

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    c5920d4 View commit details
    Browse the repository at this point in the history
  21. refactor state.js

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    002b145 View commit details
    Browse the repository at this point in the history
  22. refactor storage.js

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    4232dee View commit details
    Browse the repository at this point in the history
  23. refactor test.js

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    75a5d0c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    ff00967 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    350c960 View commit details
    Browse the repository at this point in the history
  26. network type not used

    elertan committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    5398133 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    44cfcb5 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    5b1f0f5 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    203b033 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    c614809 View commit details
    Browse the repository at this point in the history
  31. Merge pull request #10 from aspectron/refactor-scripts-to-use-parse-a…

    …rgs-and-bail-node-not-synced
    
    Refactor scripts to use parse args and bail node not synced
    aspect authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    ee16ce7 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    addb7eb View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    a604450 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    b247913 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f20bfd8 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    08c336d View commit details
    Browse the repository at this point in the history
  37. Add end-to-end demo

    Testing both `createTransaction` and `createTransactions`
    coderofstuff committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    c73322a View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    5fab288 View commit details
    Browse the repository at this point in the history
  39. Move mining references

    coderofstuff committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    e0089f0 View commit details
    Browse the repository at this point in the history
  40. Merge pull request #11 from aspectron/coderofstuff/js-api-demo

    Add end-to-end demo
    aspect authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    378d918 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

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

Commits on Aug 14, 2023

  1. Configuration menu
    Copy the full SHA
    f109fd8 View commit details
    Browse the repository at this point in the history
  2. wip - account refactoring

    aspect committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4ec0942 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cd053d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eafbc0e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe78584 View commit details
    Browse the repository at this point in the history
  6. wip - account refactoring

    aspect committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    ccbf162 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    84681c6 View commit details
    Browse the repository at this point in the history
  8. updated demo, tx-create with more comments and use rpc parse url/args

    added comments to utils
    elertan committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a0ddca9 View commit details
    Browse the repository at this point in the history
  9. a better rpc parse url for tx-script-sign tx-send and utxo-split

    updated utils to have a better help message
    elertan committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    14f457d View commit details
    Browse the repository at this point in the history
  10. dont include null

    elertan committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2089ff0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0f78b53 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Merge pull request #13 from aspectron/js-api-rpc-client-and-easier-ad…

    …dress
    
    Js api rpc client and easier address
    aspect authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    cc55f1a View commit details
    Browse the repository at this point in the history
  2. wip - account refactoring (metadata storage, import scaffolding, acco…

    …unt derivation indexes)
    aspect committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    24dcaf6 View commit details
    Browse the repository at this point in the history
  3. utxo processing settings

    aspect committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    521b323 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11157fe View commit details
    Browse the repository at this point in the history
  5. clippy

    aspect committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    f9bea29 View commit details
    Browse the repository at this point in the history
  6. Add WASM serialization/deserialization tests and improve error handling

    This commit adds unit tests for WASM serialization and deserialization in 'wasm.rs' and also updates relevant dependencies in 'Cargo.toml'.
    
    In addition, this commit enhances error handling in 'lib.rs' by making 'TryFrom<&str> for Version' fallible, meaning it can return an 'AddressError' if an invalid string is converted. This should improve robustness and ease debugging efforts.
    
    Finally, this commit modifies the Deserializer implementation for 'Address' to handle more input data types and give more detailed error messages. This should enhance error handling capability and improve user/dev experience.
    biryukovmaxim committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    9c57610 View commit details
    Browse the repository at this point in the history
  7. Move test cases from rpc/wrpc/client to crypto/addresses

    The test cases related to the functionality of Address in wasm (WebAssembly) were moved from rpc/wrpc/client to the crypto/addresses module. This move improves the modularity and coherence of the tests by placing them directly in the module they're testing.
    
    Additionally, dependencies related to these test cases were added to crypto/addresses module and removed from rpc/wrpc/client, further improving the modular structure of the project.
    biryukovmaxim committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e2d3bbf View commit details
    Browse the repository at this point in the history
  8. Configure wasm tests to run in browser

    A line was added to make the WebAssembly tests run in a browser context. This is implemented using the `wasm_bindgen_test_configure!` macro from the `wasm_bindgen_test` crate. This change is necessary to ensure accuracy of WebAssembly functionality in the browser environment.
    biryukovmaxim committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    4e211fa View commit details
    Browse the repository at this point in the history
  9. Refactor AddressVisitor to simplify default implementation

    The Default implementation for AddressVisitor has been condensed for simplification. Instead of manually implementing the Default trait with a function, the built-in derive annotation is used. This refactoring makes code cleaner and easier to understand.
    biryukovmaxim committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e199f58 View commit details
    Browse the repository at this point in the history
  10. Remove run_in_browser configuration in wasm test

    The 'run_in_browser' configuration that was previously set up in the wasm_bindgen_test has been removed as it is unnecessary. Additionally, an assertion was added to check the type of JavaScript value generated upon serializing Address, to ensure type consistency across serialization and deserialization.
    biryukovmaxim committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    3007600 View commit details
    Browse the repository at this point in the history
  11. Add assert for object type in lib.rs

    A new assertion has been added in the lib.rs file to ensure that the object type is correctly set to "object".
    biryukovmaxim committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    adf4738 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b8a864e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4f9a9cd View commit details
    Browse the repository at this point in the history
  14. wip - refactoring async

    aspect committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    af4b9bf View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9a8277e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ef0a7e7 View commit details
    Browse the repository at this point in the history
  17. parse host with tests

    elertan committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    a75436f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d35762e View commit details
    Browse the repository at this point in the history
  19. added docs

    elertan committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    fd56bc5 View commit details
    Browse the repository at this point in the history
  20. Small changes to parse

    elertan committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e80650c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    88eb4cc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3ea0729 View commit details
    Browse the repository at this point in the history
  23. use ok or else

    elertan committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    eeb3dfc View commit details
    Browse the repository at this point in the history
  24. back to .map(Ok)

    elertan committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    af08b61 View commit details
    Browse the repository at this point in the history
  25. Merge pull request #15 from aspectron/elertan/enhance-parse-url

    Elertan/enhance parse url
    aspect authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    8fa0da5 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    60c3f51 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #16 from aspectron/elertan/update-kos-server-set-c…

    …heck-valid-input
    
    parse host to check server if valid input
    aspect authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    f28694b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e42806 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf649ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a335236 View commit details
    Browse the repository at this point in the history
  6. cleanup

    aspect committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    cd4957d View commit details
    Browse the repository at this point in the history
  7. wasm - rename modules

    aspect committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    84b030c View commit details
    Browse the repository at this point in the history
  8. wip - cleanup

    aspect committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    0a5b4d3 View commit details
    Browse the repository at this point in the history
  9. Update wasm handling in lib.rs

    Added special handling for wasm target architecture in lib.rs. The changes include specifying different formats for the formatter, new methods to handle different types of input(particularly: conversion from pointer to Address struct) and added new tests. These changes were necessary to ensure compatibility with the wasm32 architecture
    biryukovmaxim committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    1dcbc48 View commit details
    Browse the repository at this point in the history
  10. Update wasm-bindgen-test and web-sys dependency scope

    Moved wasm-bindgen-test and web-sys dependencies from specific versions to workspace in crypto/addresses/Cargo.toml file. Also, added wasm-bindgen-test to the parent Cargo.toml. This change was necessary to ensure all dependencies are fetched from the workspace, creating a unified build and test environment.
    biryukovmaxim committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    696a56f View commit details
    Browse the repository at this point in the history
  11. Remove unnecessary whitespace in wasm32 function

    Whitespace on line 379 between the #[cfg] attribute and the visit_f32 function definition was removed. The change was made to clean up the code and maintain consistency with the rest of the codebase in crypto/addresses/src/lib.rs.
    biryukovmaxim committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    d0a09af View commit details
    Browse the repository at this point in the history
  12. Merge pull request #14 from biryukovmaxim/wasm-serde

    Wasm serde
    aspect authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    4a6eb18 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    141778f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6f3f71c View commit details
    Browse the repository at this point in the history
  15. "Refactor ScriptPublicKey implementation in tx.rs"

    Moved the implementation of ScriptPublicKey from tx.rs to a new file script_public_key.rs to make the structure of the codebase more organized. Also updated the tx.rs file to import the ScriptPublicKey related types from this new file.
    
    This will improve the readability of the tx.rs file and make it easier for developers to navigate through the codebase. Future improvements and changes related to ScriptPublicKey will now be done in script_public_key.rs, thus making these changes more isolated and easier to manage.
    biryukovmaxim committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    8b56c60 View commit details
    Browse the repository at this point in the history
  16. Add wasm support for ScriptPublicKey

    Added WebAssembly (wasm) support to the ScriptPublicKey module in the consensus core, and updated dependencies accordingly. This change allows for ScriptPublicKey usage within a wasm context. Additionally, updated dependencies in Cargo.toml and Cargo.lock to reflect changes needed for wasm support. This improvement is essential to expanding the consensus core's platform interoperability.
    
    The ScriptPublicKeyVisitor struct was added to the src/tx/script_public_key.rs file to support the wasm target. Also, the new FromHexVisitor and TryFrom traits are implemented to transform Value into u16 and Vec<u8> respectively. This is necessary for conversion between numeric and text representations. Wasm tests were also added to ensure proper working of the updates.
    
    The consensus core's interoperability and functionality are improved with this update. Therefore, it expands the platform's usage potential. This is a crucial update for working with wasm environments, especially for web-based projects.
    biryukovmaxim committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    537c2ac View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3d3efdc View commit details
    Browse the repository at this point in the history
  18. preparing merge into kos PR

    aspect committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    322caf5 View commit details
    Browse the repository at this point in the history
  19. Merge pull request #17 from biryukovmaxim/wasm-serde

    Wasm serde
    aspect authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    ec94c9a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8ae0dc6 View commit details
    Browse the repository at this point in the history
  21. add /test script

    aspect committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    4819aeb View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8cdee20 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ab02c70 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6af02f7 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4b08eef View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    561ff11 View commit details
    Browse the repository at this point in the history
  2. rustdoc

    aspect committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    46bf025 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbe4628 View commit details
    Browse the repository at this point in the history
  4. kos 0.0.2

    aspect committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bb469ff View commit details
    Browse the repository at this point in the history
  5. Carog.lock update

    aspect committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    553a228 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    7845b2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c79e0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f425b52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12f43ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7423433 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    25d15b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Configuration menu
    Copy the full SHA
    10fa082 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d00153 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b193a4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c5e1d4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #12 from aspectron/coderofstuff/js-api-addresses

    Common-use case impl and move addresses to main
    aspect authored Aug 19, 2023
    Configuration menu
    Copy the full SHA
    0e35293 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c5fbdae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    21a3942 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    be9221a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3115ba9 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2023

  1. workflow-rs 0.6.0

    aspect committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    648af73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b11ebb2 View commit details
    Browse the repository at this point in the history
  3. wallet - fix unit tests

    aspect committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    813b12f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29682db View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

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

Commits on Aug 22, 2023

  1. code cleanup

    aspect committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    a7eb595 View commit details
    Browse the repository at this point in the history
  2. /test - fix pushd arguments

    aspect committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    6074ec0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    287fd69 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b12ab64 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a5375e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f7cf05c View commit details
    Browse the repository at this point in the history
  7. github review (phase 3)

    aspect committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    0d54d72 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e28512b View commit details
    Browse the repository at this point in the history