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

BONUS kryprowaluty bez depozytu #248

Open
wants to merge 3,047 commits into
base: master
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 18, 2022

  1. Fix units for regtest and scalenet

    Scalenet should be 'sBCH'.  Regtest should be 'rBCH'. Fixed.
    cculianu committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    60a6c4b View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Regtest via pytest

    Launch BCHN and Fulcrum Docker containers and start a EC daemon that
    accepts RPC requests that gets verified in the test cases.
    
    Add trivial test cases that checks the following RPC methods:
    getunusedaddress
    getbalance
    getservers
    
    Only enabled for Linux amd64 due to lack of test environment, will be
    skipped on other environments.
    
    Fulcrum & BCHN can also also be launched in regtest mode via:
    $ docker-compose -f electroncash/tests/regtest/docker-compose.yml up
    And the application can connect to this network via the --regtest
    argument.
    jonas-lundqvist committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    566e66e View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Fix issue where --chipnet was not getting its directory created.

    Closes #2492.  It turns out a `make_dir()` call was missing. Oops.
    cculianu committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    b344576 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

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

Commits on Oct 31, 2022

  1. Merge pull request #2494 from 0e4ef622/patch-1

    Add servers_chipnet.json to setup.py
    cculianu authored Oct 31, 2022
    Configuration menu
    Copy the full SHA
    17b4d99 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Configuration menu
    Copy the full SHA
    54453d8 View commit details
    Browse the repository at this point in the history
  2. Remove LabelSync: fixed setup.py, removed references in fusion and sh…

    …uffle plugin code comments
    georgengelmann committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    8fa6b67 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2498 from georgengelmann/master

    Remove LabelSync option
    cculianu authored Nov 3, 2022
    Configuration menu
    Copy the full SHA
    c5fa6e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Add instructions to compile the icons for Qt (#2499)

    * Add instructions to compile the icons for Qt
    
    * Normally you can skip this step (Add instructions to compile the icons for Qt)
    georgengelmann authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    6ec4535 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1909b7d View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Remove out of date comment

    mhsmith committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    14e2c10 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2500 from jonas-lundqvist/chaquo_13

    Android: Bump chaquopy to 13.0.0
    mhsmith authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    5763790 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. Configuration menu
    Copy the full SHA
    110c4e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    955c230 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2503 from fyookball/master

    Remove RPA option for now for wallet creation.
    cculianu authored Nov 12, 2022
    Configuration menu
    Copy the full SHA
    dc16848 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. Build fixups for linux-appimage and wine builds

    - Updated dockerfiles
    - Fixup to error from newer git about permissions of /opt/electroncash inside
      docker container.
    cculianu committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    aa5cf37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d82e055 View commit details
    Browse the repository at this point in the history
  3. Updated translations (submodule pointer in contrib/electrum-locale)

    In preparation for release
    cculianu committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    08198f6 View commit details
    Browse the repository at this point in the history
  4. Fix for building srcdist_docker on some docker envs

    Need to mark the work dir as "safe" otherwise git complains
    cculianu committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    667257c View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

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

Commits on Nov 20, 2022

  1. Merge pull request #2504 from bitcartcc/add-tx-hashes-to-invoices

    Add `tx_hashes` to exported payment requests
    cculianu authored Nov 20, 2022
    Configuration menu
    Copy the full SHA
    cb91c09 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Merge pull request #2403 from jonas-lundqvist/regtest_rpc

    Regtest via pytest
    cculianu authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    fc49768 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Change bch.ninja to cashnode.bch.ninja

    I moved my node to a different hosting provider and made some DNS changes. Updating server list appropriately.
    
    Old clients will be able to connect to "bch.ninja" until 30 days after this change is released.
    kzKallisti authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    e0600e0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2506 from kzKallisti/patch-2

    Change bch.ninja to cashnode.bch.ninja
    cculianu authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    6e2e9bc View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. Run tox in github action (#2508)

    * Run tox in github action
    
    Run test suite on python 3.7..3.10 on win, macos and linux.
    Executed on each pull request.
    
    * Add Python3.6
    jonas-lundqvist authored Nov 23, 2022
    Configuration menu
    Copy the full SHA
    b8b880e View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Set BitPay as requestor on jsonPayPro invoices

    Setting an address based on a public signing key as the requestor can
    (and has) caused confusion where users think they can send funds. Set
    the key owner which is hard coded to 'BitPay, Inc.' instead.
    
    Fix has been verified with invoice from test.bitpay.com.
    
    Fixes #2505
    jonas-lundqvist committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    02a8eb0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2510 from jonas-lundqvist/bitpay_requestor

    Set BitPay as requestor on jsonPayPro invoices
    cculianu authored Nov 24, 2022
    Configuration menu
    Copy the full SHA
    bef304a View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Add basic test for jsonPaymentProtocol (#2511)

    * Add basic test for jsonPaymentProtocol
    
    Verify that signature verification works on BitPay invoices.
    The signature check itself is kind of Mickey Mouse-ish since the keys
    themselves aren't verified so this rather verifies that the payment
    request is well formed.
    
    * Remove staticmethod decorator
    jonas-lundqvist authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    ffba676 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. Trigger on Master branch + Add GitHub Action badge to README (#2513)

    * It's adviced to run also on master branch
    
    Since you want to avoid regression on master branch. Also trigger a on push (master).
    
    * Add GitHub Actions badge pipeline
    melroy89 authored Nov 27, 2022
    Configuration menu
    Copy the full SHA
    d97e95a View commit details
    Browse the repository at this point in the history
  2. Fixed typo in main_window.py "unnused" -> "unused", plus whitespace nits

    Typo appeared in UI for "Retire unused change addresses".
    
    My editor also did whitespace cleanup for this file which is also in
    this commit.
    cculianu committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    ac5d639 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Configuration menu
    Copy the full SHA
    76afda3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2516 from georgengelmann/master

    Update electroncash.de servers
    cculianu authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    de6cb58 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Configuration menu
    Copy the full SHA
    0fe5093 View commit details
    Browse the repository at this point in the history
  2. Remove python 3.6 from github workflow and/or tox.ini

    It's ancient and we don't use it.
    cculianu committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    6e5c2df View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

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

Commits on Dec 23, 2022

  1. Configuration menu
    Copy the full SHA
    a2a7c2f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2520 from kzKallisti/patch-3

    Add chipnet.bch.ninja to servers_chipnet.json
    cculianu authored Dec 23, 2022
    Configuration menu
    Copy the full SHA
    3f5ea2c View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2022

  1. Use a non-zero nr of jobs (#2522)

    Do not use zero jobs during git submodule update, since the git interface is changed.
    Zero jobs are no longer accepted.
    
    See change: git/git@51243f9
    melroy89 authored Dec 31, 2022
    Configuration menu
    Copy the full SHA
    294a8c8 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Allow zero-amount and partial payments in invoices (#2523)

    By small modifications, now if amount is None or 0, instead of returning PR_UNKNOWN get_request 
    returns PR_UNPAID. And because of how the detection code works, it will be unpaid if address is empty, 
    and once any payment arrives it will get paid. To get partial payments to work, I needed to just return tx 
    hashes we were able to detect (even if they don't fulfill the full amount yet).
    MrNaif2018 authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    3081fd8 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Updates to appimage building and wine dockerfile to fix building

    Building broke again. This fixes it.
    cculianu committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    b47b3ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93c4206 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    001ef6f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2529 from EchterAgo/tor_0_4_7_12

    Tor: Update to version 0.4.7.12 with a patch for static linking
    cculianu authored Jan 12, 2023
    Configuration menu
    Copy the full SHA
    db302bc View commit details
    Browse the repository at this point in the history
  5. Bumped version to 4.2.13, updated RELEASE-NOTES

    In preparation for upcoming release.
    cculianu committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    abe9bd0 View commit details
    Browse the repository at this point in the history
  6. Updated checkpoints for mainnet, testnet3, testnet4, and chipnet

    In preparation for release.
    cculianu committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    c3ea059 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Build: Update dnspython to version 2.2.0

    `dnspython` 2.1.0 introduced a dependency on `poetry` which caused a lot
    of other dependencies to be installed and made build slow.
    
    `dnspython` 2.2.0 only requires `poetry-core`, which is faster to install.
    
    rthalley/dnspython@da279de
    
    backport of spesmilo@d9b55ae
    SomberNight authored and EchterAgo committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    e606142 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    533836e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9b972a View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2530 from EchterAgo/dnspython_update

    Build: Update dnspython to version 2.2.0
    cculianu authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    46328bf View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2531 from EchterAgo/loping_chipnet_server

    Servers: Add loping.net chipnet server
    cculianu authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    d79b58d View commit details
    Browse the repository at this point in the history
  6. Add builds to GitHub Actions (#2532)

    Perform builds of AppImage, macOS, win and sourcedist on the master
    branch each Monday 00:00:00 UTC.
    jonas-lundqvist authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    86d79ef View commit details
    Browse the repository at this point in the history
  7. Bump test versions (#2526)

    * regtest: Bump containers
    
    Use BCHN v25.0.0 and Fulcrum v1,9.0
    
    * Cleanup Python 3.6 things in tox
    
    We can now use the latest coverage version.
    
    * Add python 3.11 support
    
    * Add python 3.11 support in GH Actions
    
    * Bump BCHN to 26.0.0
    
    Also use tags instead of hashes for the image versions.
    
    * Remove os.environ crap
    
    This is not needed for new coverage.py
    jonas-lundqvist authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    98e0629 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

  1. Disable OSX build github action.

    It is unnecessary since this rarely breaks for us anyway. It's also
    apparently "expensive" in that they charge you more minutes for OSX
    time.
    cculianu committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    b4c97a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95da458 View commit details
    Browse the repository at this point in the history
  3. Cleanup of top README

    Remove Travis and Coveralls badges.
    Add GitHub Actions build badge.
    Remove references to Python 3.6.
    jonas-lundqvist committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    9c68cc1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2534 from jonas-lundqvist/readme_cleanup

    Cleanup of top README
    cculianu authored Jan 14, 2023
    Configuration menu
    Copy the full SHA
    19255e6 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2023

  1. Configuration menu
    Copy the full SHA
    b253526 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2535 from MrNaif2018/fix-payment-requests

    Fix crashes in payment requests with amount of None
    cculianu authored Jan 15, 2023
    Configuration menu
    Copy the full SHA
    506db9e View commit details
    Browse the repository at this point in the history
  3. test: Flip last bit in negative test cases

    For some bitpay tests a signature was trashed by setting last char to
    '0' but there was some cases where sig could have that.
    Instead flip the last bit.
    Do the same thing for the digest for symmetry.
    jonas-lundqvist committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    0b8d516 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2536 from jonas-lundqvist/bitpay_test_flip_bit

    test: Flip last bit in negative test cases
    cculianu authored Jan 15, 2023
    Configuration menu
    Copy the full SHA
    e330948 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    ea83eb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    270d2d1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2537 from jonas-lundqvist/travis_cleanup

    Remove references to Travis CI
    cculianu authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    3bfb050 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2538 from jonas-lundqvist/require_python_37

    Enforce python >= 3.7 in setup.py
    cculianu authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    2931459 View commit details
    Browse the repository at this point in the history
  5. Only archive GH Actions artifacts once

    It's redundant and error prone to archive the coverage report(s) for
    all test jobs. Only do it for linux+python3.11.
    jonas-lundqvist committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    d7a7972 View commit details
    Browse the repository at this point in the history
  6. Split regtest in separate files

    Add basic payment request test
    jonas-lundqvist committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    815c36e View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Merge pull request #2539 from jonas-lundqvist/gh_archive_artifacts_once

    Only archive GH Actions artifacts once
    cculianu authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    1e92173 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2540 from jonas-lundqvist/regtest_split

    Split regtest in separate files
    cculianu authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    7e43a43 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Fixes to get auto-build to work.

    - git was updated, had to update dockerfiles for wine and appimage build
    - setuptools didn't like our "tagged" EC version so we reverted to using
      an untagged package version.
    cculianu committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    afe5bb2 View commit details
    Browse the repository at this point in the history
  2. Bump version to 4.2.14, add RELEASE-NOTES entry for 4.2.14

    In preparation for a release
    cculianu committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    07d0b14 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Configuration menu
    Copy the full SHA
    f482d7f View commit details
    Browse the repository at this point in the history
  2. Updated releases.json

    For the update checker to notify users.
    cculianu committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    bf74df2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2546 from EchterAgo/3xpl_explorer

    Explorer: Add 3XPL explorer
    cculianu authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    be59897 View commit details
    Browse the repository at this point in the history
  4. Code cleanup: Fix some formatting issues and also a potential bug

    - Fixed formatting issues in rpa/rpa_manager.py
    - Misc. tiny nits and formatting issues in wallet.py
    - Guard against potential dereference of `None` if `self.network` is not
      `None` but `self.synchronizer` is `None`. Fixes #2521
    cculianu committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    dbce985 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Bump winbind

    Fix build error for win
    jonas-lundqvist committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    ff28e0d View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Configuration menu
    Copy the full SHA
    15e89c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d06fa42 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. Merge pull request #2548 from jonas-lundqvist/gh_build_android

    Build Android in GH Actions
    cculianu authored Feb 5, 2023
    Configuration menu
    Copy the full SHA
    cde5d8b View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Bump libssl-dev for AppImage build

    Fixes a build error with broken dependencies
    jonas-lundqvist committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    3d6ebaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e26bebf View commit details
    Browse the repository at this point in the history
  3. contrib: fix find_restricted_dependencies for deps with version range (

    …#2549)
    
    New release of pyinstaller (4.3) broke the script (which is used by freeze_packages.sh).
    
    -----
    
    Compare:
    
    $ wget https://pypi.org/pypi/pyinstaller/4.3/json
    $ cat json | jq ".info.requires_dist"
    [
      "setuptools",
      "altgraph",
      "pyinstaller-hooks-contrib (>=2020.6)",
      "importlib-metadata ; python_version < \"3.8\"",
      "macholib (>=1.8) ; sys_platform == \"darwin\"",
      "pefile (>=2017.8.1) ; sys_platform == \"win32\"",
      "pywin32-ctypes (>=0.2.0) ; sys_platform == \"win32\"",
      "tinyaes (>=1.0.0) ; extra == 'encryption'",
      "pytest (>=2.7.3) ; extra == 'hook_testing'",
      "execnet (>=1.5.0) ; extra == 'hook_testing'",
      "psutil ; extra == 'hook_testing'"
    ]
    
    $ wget https://pypi.org/pypi/pyinstaller/4.2/json | jq .
    $ cat json | jq ".info.requires_dist"
    null
    
    $ wget https://pypi.org/pypi/qrcode/6.1/json
    $ cat json | jq ".info.requires_dist"
    [
      "six",
      "colorama ; platform_system == \"Windows\"",
      "tox ; extra == 'dev'",
      "pytest ; extra == 'dev'",
      "mock ; (python_version < \"3\") and extra == 'dev'",
      "zest.releaser[recommended] ; extra == 'maintainer'",
      "pillow ; extra == 'pil'",
      "pytest ; extra == 'test'",
      "pytest-cov ; extra == 'test'",
      "mock ; (python_version < \"3\") and extra == 'test'"
    ]
    
    Co-authored-by: SomberNight <somber.night@protonmail.com>
    jonas-lundqvist and SomberNight authored Feb 7, 2023
    Configuration menu
    Copy the full SHA
    9f21463 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Merge pull request #2550 from jonas-lundqvist/bump_appimage_ssl

    Bump libssl-dev for AppImage build
    cculianu authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    ba468a6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2551 from jonas-lundqvist/bump_wine_xvfb

    Bump xvfb for wine build
    cculianu authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    f35b6f4 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

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

Commits on Feb 10, 2023

  1. Merge pull request #2552 from jonas-lundqvist/gh_build_fork_repo

    Perform GH actions builds on forked repos
    cculianu authored Feb 10, 2023
    Configuration menu
    Copy the full SHA
    6242f78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19b1dbc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff3134c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2553 from jonas-lundqvist/bump_openssl

    Bump OpenSSL to 1.1.1t
    cculianu authored Feb 10, 2023
    Configuration menu
    Copy the full SHA
    7c5815e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2554 from jonas-lundqvist/gh_pip_audit

    Add GH Action pip-audit
    cculianu authored Feb 10, 2023
    Configuration menu
    Copy the full SHA
    9cc0048 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9b4aa35 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c10e9dc View commit details
    Browse the repository at this point in the history
  8. Add workflow_dispatch to GH Test workflow

    This allows a manual trigger of test jobs
    jonas-lundqvist committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    c4552cd View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2023

  1. Bump python depedencies

    This removes the following vulnerabilities caught by pip-audit:
    Name         Version   ID                  Fix Versions
    ------------ --------- ------------------- ---------------------------
    cryptography 3.3.2     GHSA-w7pp-m8wf-vj6r 39.0.1
    cryptography 3.3.2     GHSA-x4qr-2fvf-3mr5 39.0.1
    future       0.18.2    GHSA-v3c5-jqr6-7qm8 0.18.3
    setuptools   53.0.0    GHSA-r9hx-vwmv-q579 65.5.1
    wheel        0.36.2    GHSA-qwmp-2cf2-g9g6 0.38.1
    certifi      2021.10.8 GHSA-43fp-rhv2-5gv8 2022.12.7
    protobuf     3.19.4    GHSA-8gq9-2x98-w8hf 3.18.3,3.19.5,3.20.2,4.21.6
    eth-account  0.5.7     GHSA-v65g-f3cj-fjp4 0.5.9
    jonas-lundqvist committed Feb 11, 2023
    Configuration menu
    Copy the full SHA
    608f0d2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2555 from jonas-lundqvist/gh_build_inputs

    Add build options in GH Actions
    cculianu authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    bf1c6fd View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2556 from jonas-lundqvist/tox_py311

    Add python 3.11 to tox
    cculianu authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    43b9c1e View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2557 from jonas-lundqvist/gh_tox_allow_dispatch

    Add workflow_dispatch to GH Test workflow
    cculianu authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    3cf581b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2558 from jonas-lundqvist/bump_python_deps

    Bump python depedencies
    cculianu authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    ed19c0c View commit details
    Browse the repository at this point in the history
  6. Remove LNS and web3 dependencies (#2559)

    LNS + its web3 dependencies are causing maintenance headaches and smartBCH
    is largely defunct now anyway.
    
    The macOS build fails to run now after merging #2558 . We would rather move 
    forward with an easier time maintaining the python dependencies than troubleshoot
    every time LNS breaks.
    
    Squashed commits:
    
    * Remove LNS and web3 dependencies
    
    LNS + its web3 dependencies are causing maintenance headaches and
    smartBCH is largely defunct now anyway.
    
    * Remove last remnants of references to `web3`
    
    Missed a few spots.
    cculianu authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    657c1f7 View commit details
    Browse the repository at this point in the history
  7. Remove last vestige of web3 dependencies (#2560)

    * Remove last vestige of web3 dependencies
    
    As per reviewer comment for #2559:
    
    #2559 (comment)
    
    * Remove mention of web3 in github workflow
    cculianu authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    e8bbf82 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    bf1b6fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8aebfd3 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. add fulcrum.criptolayer.net to servers.json

    quite juicy machine, hope it can help. tg: @moleccc
    molecular authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    898f3db View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Merge pull request #2564 from molecular/patch-1

    add fulcrum.criptolayer.net to servers.json
    cculianu authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    833996e View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

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

Commits on Mar 20, 2023

  1. Merge pull request #2563 from OPReturnCode/fusion_android

    Fusion on android
    fyookball authored Mar 20, 2023
    Configuration menu
    Copy the full SHA
    f913401 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Android Play Store changes

    fyookball committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    10b520b View commit details
    Browse the repository at this point in the history
  2. Update README.md

    fyookball authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    39356ae View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Some nits and fixes, pluse removed fulcrum.fountainhead.cash from ser…

    …vers
    
    - The minimum relay fee in wallet.py should default to 1000 sats/KB, not
      5000.
    - Fixed a typo
    - Removed defunct fulcrum.fountainhead.cash as the admin says he is no
      longer interested in running this server.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    3149f0a View commit details
    Browse the repository at this point in the history
  2. Refactor BCDataStream into its own file (serialize.py), add token.py

    First step in figuring out how to get txns to parse token data
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    12827b0 View commit details
    Browse the repository at this point in the history
  3. Added token parsing test vectors

    Taken from BCHN codebase.  These tests also revealed some
    limitations in BCDataStream which we fixed.  Now, we correctly reject
    badly formatted token data.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    599da88 View commit details
    Browse the repository at this point in the history
  4. Added support for tokens to transaction.py, and to transaction_dialog.py

    Also updated some tests
    
    At least now token-containing txns display correctly, but much work
    needs to be done to be able to send/sign a token txn and other assorted
    goodies.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    3e70f92 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a7d3665 View commit details
    Browse the repository at this point in the history
  6. Extended serialized txn format to also save tokenData

    This is to allow offline signing to sign token txns.
    
    Note this breaks the format for older clients, should the txn happen to
    contain tokens .. but there is no other way around this.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    39cb542 View commit details
    Browse the repository at this point in the history
  7. Fixups to transaction_dialog

    TxDialog now displays tokens on a line *after* the amount. Also added
    logic to display token info for inputs.
    
    Also have network fetch_inputs expose the tokenData as well for fetched
    inputs.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    dc5dd71 View commit details
    Browse the repository at this point in the history
  8. Added wallet support for cashtokens

    wallet.ct_txo and wallet.ct_txi track known cashtokens. We still need a
    modified Fulcrum server to *see* our CashTokens, however.
    
    Also added more support for signing and working with utxos that contain
    cashtokens.
    
    Misc. refactor as well.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    e566410 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d50e7fd View commit details
    Browse the repository at this point in the history
  10. Update txdialog UI and associated code to correctly display input tokens

    Was not working on for in-wallet txns.  Now it works.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    d499929 View commit details
    Browse the repository at this point in the history
  11. Fix a bug in txdialog if viewing unsigned txns

    Oops. input_token_datas return was not always populated. Fixed.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    de7edaa View commit details
    Browse the repository at this point in the history
  12. Fixed a wallet ser/deser bug whereby we lost token info across restarts

    JSON keys cannot be ints, they must be strings, so prevout_n was
    becoming an int across wallet restarts.  Fixed.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    7febd08 View commit details
    Browse the repository at this point in the history
  13. Added TOKEN_PUBKEY_TYPE and TOKEN_SCRIPT_TYPE to cashaddr.py

    For being able to encode/decode cashaddresses of these types.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    bd8b652 View commit details
    Browse the repository at this point in the history
  14. Fixes to properly support CashToken-aware addresses and P2SH32 addresses

    Also added UI elements to be able to figure out the cashtoken address
    for wallet addresses.  Also the txdialog can "realize" when a cashtoken
    address appearing in an (unsigned) txn is "mine".
    
    Other assorted UI goodies added related to cashtoken addresses.
    
    The Address class was reworked a bit.  Test vectors were also added from
    the CashToken spec for the new token-aware address types.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    7e41577 View commit details
    Browse the repository at this point in the history
  15. Refactor Address class to simplify the treatment of "token-aware" addrs

    We switched from the Address class "capturing" the token-aware quality
    to it just being a display encoding format.  The philosophy of this
    class is that it encapsulates a locking script (akin to CTxTestination
    in BCHN).  As such, the way the address is encoded as a string doesn't
    need to be captured by this class.
    
    This simplifies the usage of the class itself and avoids potential bugs
    where the same locking script is not "seen" by electron cash as being
    the same address if one was token and the other was cashaddr, etc.
    
    This refactor makes actually *using* the address class easier than what
    we had before where token-awareness was a "kind".  That was confusing to
    callers.  It really should just be an encoding type...
    
    Also, the tests were updated and the Address class was made to enforce its
    invariants much more strictly.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    e09e37c View commit details
    Browse the repository at this point in the history
  16. Fixed a typo

    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    c095ac1 View commit details
    Browse the repository at this point in the history
  17. Added a tab for CashTokens

    For now it doesn't do much except display the tokens found in the wallet.
    TODO: Add more functionality
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    33d7e0b View commit details
    Browse the repository at this point in the history
  18. Tokens tab: Don't clear selections or expanded items when it refreshes

    This imports similar code from address_list.py such that a refresh of the
    token tab contents doesn't eerily and annoyingly clear the UI state.
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    4dbf18c View commit details
    Browse the repository at this point in the history
  19. Added context menu for CashTokens tab

    Allows copying token IDs, etc.  Also added stub menu items for
    "Create Tokens" and "Send Tokens"
    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    2db4c49 View commit details
    Browse the repository at this point in the history
  20. Some small refactor

    cculianu committed May 2, 2023
    Configuration menu
    Copy the full SHA
    ae9e84a View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Add CashToken "create" form (to create new tokens)

    This commit adds the "Create Token" function. It can take any prevout-0
    UTXO and send a txn self to create a token. It has a "new" button that
    also allows one to auto-getn a prevout-0 UTXO if none are present in the
    wallet.
    
    Also in this commit:
    
    - Modified coinchooser.py to accept optional token_datas
    - Modified token.py to add some useful constants
    - Modified wallet.py make_unsigned_transaction to accept token_datas and
      bip69_sort as optional kwargs
    cculianu committed May 3, 2023
    Configuration menu
    Copy the full SHA
    177e17e View commit details
    Browse the repository at this point in the history
  2. Nit: Prefer get_unused_address() and fall-back to utxo["address"]

    This makes the token creation or token-utxo-creation txns consistent
    with the rest of the app.
    cculianu committed May 3, 2023
    Configuration menu
    Copy the full SHA
    29bb917 View commit details
    Browse the repository at this point in the history
  3. Nit: Clarify help for NFT commitment that the hex chars must be even …

    …in number
    
    As per collaborator suggestion.
    cculianu committed May 3, 2023
    Configuration menu
    Copy the full SHA
    29d9a87 View commit details
    Browse the repository at this point in the history
  4. Fixup: make_unsigned_transaction was not passing down token_datas

    This was a bug on my part. Fixed.
    cculianu committed May 3, 2023
    Configuration menu
    Copy the full SHA
    15abf0c View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Reorganized CashTokens tab to drill down to per-utxo items

    - Added another column to show the outpoint
    - Double-click shows the txn for the token
      - Right-click -> Details does same
    
    Suggested by: bitcoincashautist
    cculianu committed May 4, 2023
    Configuration menu
    Copy the full SHA
    0ea0e24 View commit details
    Browse the repository at this point in the history
  2. Added BCH "Amount" column to the CashTokens tab

    Also some minor fixups to formatting and fonts for the CashTokens tab.
    cculianu committed May 4, 2023
    Configuration menu
    Copy the full SHA
    0ef3f59 View commit details
    Browse the repository at this point in the history
  3. CashToken tab: Make very long NFT commitments fit better

    We squeeze very long NFT hex and render them as "Condensed".
    The threshold for this is when the NFT hex exceeds ~64 hex characters.
    Previous to this commit, on my macOS system, the QTreeWidget behaved
    strangely when the first column blew up to massive width due to ridiculously
    long NFT commitments.
    
    This commit fixes the situation.
    cculianu committed May 4, 2023
    Configuration menu
    Copy the full SHA
    8c8eb65 View commit details
    Browse the repository at this point in the history
  4. Mention "Token Address" in the send tab "pay to" help.

    Since we support parsing these, mention it in the help.
    cculianu committed May 4, 2023
    Configuration menu
    Copy the full SHA
    91176d1 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

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

Commits on May 6, 2023

  1. Added "Send Token" form

    Not fully implemented yet, but it at least can manage its own internal
    state/sanity.
    
    Still need to implemnent:
    
    - Detection of when BCH amount exceeds wallet
    - Linking of Fiat/BCH amount edits properly
    - Composition of the resultant tx -> Send to Tx Dialog preview window
    cculianu committed May 6, 2023
    Configuration menu
    Copy the full SHA
    5a7ecfd View commit details
    Browse the repository at this point in the history
  2. Made the "Send Tokens (xxx)..." context menu label counts better

    Just have the count be the number of utxos involved, rather than
    anything else.
    cculianu committed May 6, 2023
    Configuration menu
    Copy the full SHA
    8dafdaa View commit details
    Browse the repository at this point in the history
  3. Fixed a comment (typos)

    cculianu committed May 6, 2023
    Configuration menu
    Copy the full SHA
    9a0a7a1 View commit details
    Browse the repository at this point in the history
  4. Allow sending of cashtokens from the Coins tab, misc other fixups

    Also in this commit:
    - show if a coin is frozen in the CashToken tab and don't spend it if it
      is.
    - add context-menu action to unfreeze frozen coins in the CashToken tab
      (works similarly to the Coins tab)
    - "Frozen" coin color in the coins tab takes precedence over the
      CashToken "green" color.
    cculianu committed May 6, 2023
    Configuration menu
    Copy the full SHA
    b19c95e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

  1. Got the sent tokens dialog to work and produce a tx!

    Yay! It works. It figures out how to allocate fungibles and nfts to
    outputs, and resolves "change" outputs for: BCH amounts, fungibles left
    over, and NFTs in inputs.
    
    Also in this commit: Made the BIP69 sorting conform to BCHN / latest
    spec.
    cculianu committed May 7, 2023
    Configuration menu
    Copy the full SHA
    6923d38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34842a6 View commit details
    Browse the repository at this point in the history
  3. Minor nit in Abstract_Wallet.make_token_send_tx

    Simplified an `if` condition and also fixed 2 comments.
    cculianu committed May 7, 2023
    Configuration menu
    Copy the full SHA
    664d58c View commit details
    Browse the repository at this point in the history
  4. Add Token History tab (#2601)

    * Add Token History tab
    
    * Update electroncash_gui/qt/main_window.py
    
    Co-authored-by: Calin Culianu <calin.culianu@gmail.com>
    
    * Update electroncash_gui/qt/main_window.py
    
    Co-authored-by: Calin Culianu <calin.culianu@gmail.com>
    
    * Handle case where prevout tx is None
    
    ---------
    
    Co-authored-by: Calin Culianu <calin.culianu@gmail.com>
    Andrew-128 and cculianu authored May 7, 2023
    Configuration menu
    Copy the full SHA
    3ee95e5 View commit details
    Browse the repository at this point in the history
  5. Rewrote wallet.get_input_tx a bit, added a small wallet tx cache

    - New function: try_to_get_tx which is a generic txn retriever
      (optionally falls back to synchronous network lookup). Saves the
      retreived tx in a dict of max size 250
    - Made get_input_tx use this mechanism so that it never returns
      references to in-wallet txns (which may waste memory if the caller
      deserializes them). Instead, it always returns references to txns
      in the in-wallet cache.
    - Replaced use of wallet.transaction.get() in the token history tab
      with wallet.get_wallet_tx() so that the txn is deserialized from
      a private copy and the wallet txn dict doesn't store deserialized
      txns.
    cculianu committed May 7, 2023
    Configuration menu
    Copy the full SHA
    e7b5b87 View commit details
    Browse the repository at this point in the history
  6. Fixup to token history tab: allow editing of labels

    Also implemened update_labels() and added callback from main_window.py
    to this function when labels change asynchronously for whatever reason.
    cculianu committed May 7, 2023
    Configuration menu
    Copy the full SHA
    af6e11e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8fb0390 View commit details
    Browse the repository at this point in the history
  8. More fixups to token send form

    - "Max" checkbox now works
    - Got rid of the fiat edit box. Will implement later, perhaps.
    - If BCH amount specified exceeds wallet funds, shows the amount box in
      red.
    - Misc nits
    
    Note that the BCH amount "max" estimate is not 100% accurate, but should
    work in practice.
    cculianu committed May 7, 2023
    Configuration menu
    Copy the full SHA
    2ab8d6f View commit details
    Browse the repository at this point in the history
  9. Reorganized the CashTokens tab slightly

    In some cases move items up to a higher level if there are no sibling
    items on the same level, to avoid user having to drill down annoyingly.
    
    - In one special case we just show FT token on top level if there is only 1
      FT-only UTXO for that category id
    - In another case, don't create a "Fungible Only" parent item if the
      only things that category ID has are fungibles. Instead, put them all
      right under the top-level category ID item.
    cculianu committed May 7, 2023
    Configuration menu
    Copy the full SHA
    a7d1b7a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Configuration menu
    Copy the full SHA
    87b96dd View commit details
    Browse the repository at this point in the history
  2. token send: Made successful broadcast of the tx auto-close the form

    This is so that the user can automatically be exited from the UI
    context he/she was in. The now-defunct form whose tokens have been
    sent successfully auto-closes.
    cculianu committed May 8, 2023
    Configuration menu
    Copy the full SHA
    30b531a View commit details
    Browse the repository at this point in the history
  3. Made the token send form complain if not given a CashToken address

    - Displays the address text in green if the address is CashToken-aware
    - If not, displayes it in yellow, complains, but still lets user send
      funds anyway
    cculianu committed May 8, 2023
    Configuration menu
    Copy the full SHA
    08c48e2 View commit details
    Browse the repository at this point in the history
  4. wallet "sweep" -- try to explicitly exclude cashtokens

    This is a defensive-programming commit. We declare our protocol version
    as 1.4 to the server, so `blockchain.scripthash.listunspent` should play
    nice with us and never show us tokens. However, just to be safe, we
    explicitly ask to "exclude_tokens" and if that call fails because the
    server doesn't understand the argument, we try again without that
    parameter.
    
    This is defensive programming in case someone someday upgrades our
    Electron Cash protocol version to 1.5 (in which case tokens are included
    in the unspent list by default!)
    cculianu committed May 8, 2023
    Configuration menu
    Copy the full SHA
    a600970 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8d874e3 View commit details
    Browse the repository at this point in the history
  6. token send: Added defensive programming checks to ensure no token burns

    Added some logic/paranoia checks at the end of Abstract_Wallet.make_token_send_tx
    to detect if any tokens are being destroyed by the resultant tx.
    
    This is in case someone modifies this function in the future and introduces new bugs,
    they are unlikely to make it through to a tx being sent that burns
    tokens.
    cculianu committed May 8, 2023
    Configuration menu
    Copy the full SHA
    33f5839 View commit details
    Browse the repository at this point in the history
  7. Add "mutable" specific icon and use it

    New icon: mutable.png.
    
    Also reorganized the code a bit, including in the token history tab, to
    show the right icon(s) depending on circumstance (minting vs mutable).
    
    Also the descriptor "Immutable" should now appear last in any text areas
    since it's less important than Minting or Mutable.
    cculianu committed May 8, 2023
    Configuration menu
    Copy the full SHA
    5f0f900 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Implemented "Edit Commitment" UI action for minting/mutable NFTs

    Modified the "Send" form to also allow editing, in a special mode. The
    editing mode always sends to self.
    
    Also in this commit: various small fixups to the "Send" form.
    cculianu committed May 9, 2023
    Configuration menu
    Copy the full SHA
    d2a5fe3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd741e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c67c7c3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2602 from Andrew-128/simplify-nft-description

    Improve NFT description and add Copy Outpoint operation
    cculianu authored May 9, 2023
    Configuration menu
    Copy the full SHA
    0541d4e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d9184e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    32124f4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eafaf92 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #2605 from Andrew-128/combined-icon

    Add a combined minting/mutable icon
    cculianu authored May 9, 2023
    Configuration menu
    Copy the full SHA
    b1b56fe View commit details
    Browse the repository at this point in the history
  9. Performance fixup for token history list

    - added new wallet function get_tx_tokens_delta()
    - used this new function to improt wallet.get_history() to return
      optional token deltas per history item
    
    All data comes from in-wallet data structures now (wallet.ct_txo and
    wallet.ct_txi).  Which means no more needing to re-parse every txn in
    wallet as was the case before this commit, in order to build the token
    history list. I'm seeing a 20x speedup.
    
    Note that the new wallet.get_history() API also optionally supports
    cumulatuve token balances per-txn, which we can use perhaps later to
    display such information in the token history list.
    cculianu committed May 9, 2023
    Configuration menu
    Copy the full SHA
    de7bc12 View commit details
    Browse the repository at this point in the history
  10. Fixups to token history tab; added fungible total balance and nft bal…

    …ance
    
    Makes it more like the main history tab and also it's useful to know
    your on-going balance.
    
    Leverages the new wallet API that quickly determines these things.
    
    Also some fixes to the column widths and fonts... to fit more on the
    screen horizontally. Also added more tooltips and also made more of the
    columns resizeable.
    cculianu committed May 9, 2023
    Configuration menu
    Copy the full SHA
    3fb6a05 View commit details
    Browse the repository at this point in the history
  11. Fixups to token history list

    - wallet.get_history() was returning the wrong data .. it should also
      tell you about prevout_hash in the dict "nft_out" key. It should have
      a tuple of 3: prevout_hash, prevout_n, token_data.  Fixed.
    - Made the token history tab remember selections and expanded items
      across .update() calls.
    - Made the token history tab auto-expand on first refresh if it only has
      1 top-level item with sub-items
    cculianu committed May 9, 2023
    Configuration menu
    Copy the full SHA
    c42fa64 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c12d438 View commit details
    Browse the repository at this point in the history
  13. Rename "Token ID" -> "Category ID" to be consistent with the spec

    .. as well as consistent with the token history tab which already refers
    to it as this.
    cculianu committed May 9, 2023
    Configuration menu
    Copy the full SHA
    b83296c View commit details
    Browse the repository at this point in the history
  14. Update main window status label to also show how much BCH in CashToke…

    …n TXOs
    
    Needed to modify the call signature of some functions in wallet to do
    this, but it has been done in a backwards-compatible way.
    cculianu committed May 9, 2023
    Configuration menu
    Copy the full SHA
    ac973f6 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    11ec9c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8691cf1 View commit details
    Browse the repository at this point in the history
  3. Fix bug in tx-dialog right-click on inputs not working as expected

    - The "text anchor" wasn't set properly so if you right-click on a token
      data input, you didn't get the right context menu options. Fixed.
    - Added the correct context menu options for the inputs box right-click
    cculianu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    8a8ef46 View commit details
    Browse the repository at this point in the history
  4. Small nit

    cculianu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    b9ff8d3 View commit details
    Browse the repository at this point in the history
  5. De-uglified the Transaction Dialog cashtoken info

    Made it less horrible. I hope.
    cculianu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    d5dd24f View commit details
    Browse the repository at this point in the history
  6. Added supper for minting new NFTs in Abstract_Wallet.make_token_send_…

    …transaction
    
    It's basic but the idea is you set the "payee" to the wallet itself,
    mark the minting NFT for "Sending" (to self), and you can optionally
    specify a list of new NFTs to also add to the txn.
    cculianu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    bd827b9 View commit details
    Browse the repository at this point in the history
  7. Added 'qblockies.py' to qt/utils

    So that we can deterministically create token "icons" from a
    token category id string.
    
    Based on: https://github.com/tristan/blockies
    
    Adapted to not use Pillow, but instead just use Qt natively.
    cculianu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    422695c View commit details
    Browse the repository at this point in the history
  8. Added token metadata management mechanism, added default token icons

    Icons get saved to DATADIR/cashtoken_meta/icons as the "category-id".png.
    However, if no icon is found for a particular category-id there, electron
    cash just uses some defaults which are procedurally generated based on the
    category-id.  The icons produced deterministically in this way are identical
    to the code that is being used at https://my-cashtokens-webwallet.netlify.app/
    cculianu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    d3bb2a9 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Configuration menu
    Copy the full SHA
    df79074 View commit details
    Browse the repository at this point in the history
  2. Added an optional "URL" field to the Create Token form

    If specified, we end up hitting the web to calculate the document's
    hash, and we embed the hash and url into a BCMR-conforming OP_RETURN
    field.
    
    Also in this commit: Added support for the tx_dialog broadcast callback
    to accept betwee 1-3 args (just in case we need to inspect what was
    broadcast in a later form).
    cculianu committed May 11, 2023
    Configuration menu
    Copy the full SHA
    de65c22 View commit details
    Browse the repository at this point in the history
  3. Made the two CashToken tabs (history and token list) use alternating …

    …row colors
    
    This makes the cashtoken stuff have its own distinct visual style so
    user knows they are in cashtoken-land just from glancing at the screen
    (to differentiate these views from the normal history list, etc)
    cculianu committed May 11, 2023
    Configuration menu
    Copy the full SHA
    d94bb6a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bfa4d46 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    62239dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cff6ebd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cae2a97 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ce898f2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    21d0345 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cfb7253 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3e91bd7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    67e0a53 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    316b942 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ae041db View commit details
    Browse the repository at this point in the history
  15. A few fixups

    Andrew-128 committed May 11, 2023
    Configuration menu
    Copy the full SHA
    f119a1a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d15f72a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a326b89 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fd28803 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e85bf72 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Configuration menu
    Copy the full SHA
    a712727 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2607 from Andrew-128/icon-columns

    Icon columns
    cculianu authored May 12, 2023
    Configuration menu
    Copy the full SHA
    697990d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a6f36b View commit details
    Browse the repository at this point in the history
  4. Layout fixes

    Andrew-128 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    f00e1d4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2606 from Andrew-128/mint-tokens

    Mint tokens
    cculianu authored May 12, 2023
    Configuration menu
    Copy the full SHA
    eaacb79 View commit details
    Browse the repository at this point in the history
  6. Mint NFTs: Got rid of the "commitment" column in top box + various fi…

    …xups
    
    - Minting only selects at most 1 of each token category
    - Top box thus doesn't need to show the commitment hex (column deleted)
    - Fixed bug where Preview Tx was being allowed even for illegitimate
      user input to form
    - Fixed untranslated strings / translation of ""
    - Various other small nits
    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    53a0dc9 View commit details
    Browse the repository at this point in the history
  7. Optimized composition of mint tx to not split fungible amounts out

    Same trick used for edit. Specify the minting utxo's "amount" as "to
    send" to avoid having it split out as "change" needlessly.
    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    34e6385 View commit details
    Browse the repository at this point in the history
  8. Fixed use of python f-strings in gettext _() calls

    Unsupported by gettext as it would be a security vulnerability. Fixed in
    the few places in the app where this occurred.
    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    be783c5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    90d6aa8 View commit details
    Browse the repository at this point in the history
  10. Fix some quirks

    - Adjusted layout of mint top table a bit
    - Made a crash that could happen stop happening
    - Ensure can see the "X" on the lower treewidget
    - Ensure adding items scrolls the scrollarea to bottom so user notices
      effect of the add
    - Ensure deletion doesn't reset scrollbar position
    - Ensure form remembers partially-completed values across redraws
    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    07f0222 View commit details
    Browse the repository at this point in the history
  11. A nit.

    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    9701116 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cd6993a View commit details
    Browse the repository at this point in the history
  13. Sort height ratios

    Andrew-128 committed May 12, 2023
    Configuration menu
    Copy the full SHA
    6d13ded View commit details
    Browse the repository at this point in the history
  14. Added UI to edit token metadata properties

    Accessible from the CashTokens tab right click -> edit token metadata
    
    Properties edited are not yet used for display. Coming in a subsequent
    commit...
    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    49bcb78 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #2608 from Andrew-128/layout-tweaks

    Make bottom panel resizable. Other layout tweaks
    cculianu authored May 12, 2023
    Configuration menu
    Copy the full SHA
    b78d8e5 View commit details
    Browse the repository at this point in the history
  16. Added support for edited token meta-date for "Decimals Point"

    Still missing: Send token support for this.
    
    Most of the screens are updated -- hopefully I didn't miss anything!
    cculianu committed May 12, 2023
    Configuration menu
    Copy the full SHA
    6f6993b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. Renamed "Edit Token Metadata" -> "Token Properties..."

    1. It's shorter now
    2. I fear the word metadata may cause users to imply we are actually
       doing something with BCMR.
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    5622633 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d339656 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6eb73b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11d8324 View commit details
    Browse the repository at this point in the history
  5. Fix derps

    Andrew-128 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    3732087 View commit details
    Browse the repository at this point in the history
  6. Clear before rebuilding!

    Andrew-128 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    e267e3b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2609 from Andrew-128/treewidget-fixes

    Fix various token_send QTreeWidget layout issues
    cculianu authored May 13, 2023
    Configuration menu
    Copy the full SHA
    c1cacb7 View commit details
    Browse the repository at this point in the history
  8. Fix "bleed through" of text from table cell behind edit cell

    Solution is to just not put any text in table cell since it's not used
    for anything anyway.
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    63cc147 View commit details
    Browse the repository at this point in the history
  9. Set boolean if in qdarkstyle

    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    80cc686 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9221032 View commit details
    Browse the repository at this point in the history
  11. Remove leftover import

    Andrew-128 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    a65ed3b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1da4dd3 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #2610 from Andrew-128/treewidget-fixes

    Fix transparent scrollbars
    cculianu authored May 13, 2023
    Configuration menu
    Copy the full SHA
    bacae5e View commit details
    Browse the repository at this point in the history
  14. Made UI display token name (and symbol) if set everywhere

    - Also made the token-id columns more compact in a few places.
    - Also attached more app-wide signaling when user edits token name so more
      views/widgets get updated when this happens.
    - Plus miscellaneous small fixups and cleanups.
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    b74f5ca View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2ed4db6 View commit details
    Browse the repository at this point in the history
  16. Standardize some terminology

    "Flags" -> "Capability"
    "NFT Hex" -> "NFT Commitment"
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    bc5ed87 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6a9e956 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b0b7c62 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4b8d8eb View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    6d99140 View commit details
    Browse the repository at this point in the history
  21. CashTokens tab: Made the Capability column user-resizable and elidable

    It now defaults to being smaller ...
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    0f1c2a6 View commit details
    Browse the repository at this point in the history
  22. Made the nft flag icon column be "interactive" resizeable

    In the perhaps naive hope that on no platform will this mean they get
    crushed to nothing.
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    d65f1c4 View commit details
    Browse the repository at this point in the history
  23. Some nittls:

    - Copy Token Name added (in lieu of Copy Category)
    - Adjusted tooltip for token history list to describe what it is showing
      you as a category ID
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    5ff4a29 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    ee789f9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2b43ace View commit details
    Browse the repository at this point in the history
  26. Mint screen: Reworked a few things

    - "Delete" button moved to the right and given a trash icon
    - Table made tighter (got rid of the empty space for the collapser
      control since none of the items are collapsible)
    - Put the "Delete" button in the same widget as the "N copies" button.
    - Added some missing tooltips
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    8104e59 View commit details
    Browse the repository at this point in the history
  27. Use custom clear button on token property editor to avoid bad styles

    Some desktop styles render the "reset" (clear) button same as "cancel".
    Not good. Redone to not use the auto-magic logic of Qt for this button.
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    06674c8 View commit details
    Browse the repository at this point in the history
  28. Fixup for create token dialog to not have ugly clear button

    On some Linux setups this looked just like the "Cancel" button which can
    be visually confusing.  Fixed.
    cculianu committed May 13, 2023
    Configuration menu
    Copy the full SHA
    0a92d6f View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    e6a1168 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    56b578e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d9cc88e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    96072c7 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    e477a65 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    732f6df View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    14a2c9c View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    a97e0da View commit details
    Browse the repository at this point in the history