Giter Site home page Giter Site logo

greenaddress / elements Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elementsproject/elements

2.0 2.0 1.0 50.16 MB

Feature experiments to advance the art of Bitcoin

License: MIT License

Shell 0.81% QMake 0.04% Python 5.65% Groff 0.37% Makefile 1.39% C++ 76.26% C 14.12% HTML 1.05% CSS 0.02% Objective-C++ 0.15% Protocol Buffer 0.05% Java 0.04% Objective-C 0.04%

elements's People

Contributors

btcdrak avatar codeshark avatar cozz avatar dexx7 avatar domob1812 avatar dooglus avatar fanquake avatar gavinandresen avatar gmaxwell avatar instagibbs avatar jnewbery avatar jonasschnelli avatar jtimon avatar kallewoof avatar laanwj avatar luke-jr avatar maaku avatar morcos avatar muggenhor avatar non-github-bitcoin avatar paveljanik avatar petertodd avatar pstratem avatar rebroad avatar ryanofsky avatar sdaftuar avatar sipa avatar thebluematt avatar theuni avatar wtogami avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rcasatta

elements's Issues

System notification show L-BTC even when sending/receiving assets

When sending/receiving an asset, notifications show the amount with L-BTC units.

Note also the "(GUI node for bitcoin)" in the second screenshot.

Screenshots.

  • macOS 10.14

notification_macos

  • Windows 10

notification_windows

Version

1164cc4

Machine specs:

Tested on a physical machine running macOS 10.14 Mojave and a virtual machine running Windows 10

Receive Tab - Show button disabled

Show button on the receive screen is disabled.

Double clicking on the address correctly brings up the request payment address details dialog. This is what should be shown then the Show button is functional.

screen shot 2019-02-27 at 11 02 01 am

Changing l-BTC units causes a crash

Description

Changing l-BTC causes a crash. At the next start, units are updated.

Steps to reproduce

  1. Start liquid-qt
  2. Change l-BTC units

Expected behaviour

Units updated across the app

Actual behaviour

Crash

Version

3.14.1.22 aff772d

Machine specs:

  • OS: macos 10.14

Any extra information that might be useful in the debugging process.

Abort trap: 6 printed after the crash

Minus sign after decimal point in overview tab and transactions tab

Description

Minus sign shown after decimal point in amounts (tx overview tab and transactions tab). Seems to happen only for very low amounts. Attached screenshot

Screenshot

In overview tab:

recent_txs_to_rick

In transactions tab:

screenshot 2019-02-18 at 20 29 33

Version

3.14.1.22 aff772d

Machine specs:

  • OS: macos 10.14

Qt Windows10 - Application does not ask for default folder at first start

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Create a default Liquid datadir at: %homepath%\AppData\Roaming\Liquid
  2. Create a liquid.conf file with validatepegin=0
  3. Download binaries, extract to default folder and run liquid-qt.ext

Expected behaviour

Application on first start should ask for default datadir location.

Actual behaviour

It uses the folder where liquid-qt.exe is located at.

Transaction id not available

After 1afe9ce, there is no way to see a transaction ID beside exporting a .csv file.

Expected behaviour

It would nice to have the tx id shown somewhere in the app. Or allowing copy to clipboard.

It could be an additional column in the transaction list tab or copying directly to the clipboard the txid when clicking on an entry in the table.

Version

2e82bda

Machine specs:

  • OS: macOS 10.14

Liquid logo and icon distorted in osx and windows

Description

The icon and the logo look distorted in Windows and macos versions

Steps to reproduce:

Start liquid-qt

Expected behaviour

Icon showed as in Linux version

Screenshots.

REMOVED AS NOT APPLICABLE

Version

3.14.1.22 aff772d

Startup error shown if bitcoind RPC unavailable is unclear to newbies

Describe the issue

Once the liquid-qt is launched, if the bitcoin server is not correctly configured, the app displays an ambiguous error message. A user may not adequately understand the need to install a bitcoin node.

If so, please list the steps to reproduce below:

Start liquid-qt app without other arguments (and without a configuration file).

Expected behaviour

Suggest to install bitcoin core (maybe with a link to bitcoincore.org) and to configure liquid appropriately.

Actual behaviour

Show an error message and halt the app.

Screenshots

schermata 2019-02-18 alle 17 01 28

Machine specs:

MacOSX 10.14.3

Sent amount in transaction details is always shown in L-BTC units

Description

If the asset sent is not L-BTC, amount units are still shown in L-BTC.

Steps to reproduce:

Go to transactions tab and double click on a transaction

Expected behaviour

Apply units only for L-BTC and show asset id

Screenshots.

mbtc_unit_for_asset

Version

3.14.1.22 aff772d

Machine specs:

  • OS: macos 10.14

Non-deterministic block validity state cached

IsValidPeginWitness is used from at least GetTransactionSigOpCost and CheckTxInputs to determine block validity, the result of which can cause a block to be marked invalid permanently, and never reconsidered later.

But this is a problem because it calls IsConfirmedBitcoinBlock which can return true or false depending on the state of the linked Bitcoin node. The Bitcoin node might be behind, causing the block to be marked as invalid, and never reconsidered later when the Bitcoin node catches up. (Or an actually-invalid block might become valid as the Bitcoin blockchain grows, but this shouldn't happen in reality.)

ApplyTxInUndo probably shouldn't check IsConfirmedBitcoinBlock

ApplyTxInUndo is used to disconnect a block being reorganised out. When undoing peg-ins, it checks IsConfirmedBitcoinBlock via IsValidPeginWitness. But if such a reorg were to happen, it would likely be because a peg-in is no longer valid on the Bitcoin side, and this failure would be fatal to Liquid nodes trying to sync to the new best chain.

Maybe a non-issue if Liquid functionaries are expected never to reorg. But at the very least, there is no apparent reason to re-check here, and it only has the potential to create unnecessary problems. Even if there are no problems, it can slow down the reorg.

SubtractFeeFromAmount checkbox shown when sending asset

Description

The SubtractFeeFromAmount checkbox is shown even when choosing an asset different than L-BTC

Steps to reproduce below:

  1. Go to send tab
  2. Select an asset different from L-BTC from the dropdown

Expected behaviour

Checkbox greyed out or hidden

Actual behaviour

Checkbox is shown and can be enabled

Screenshot

subtract_fee_from_amount

Version

3.14.1.22 aff772d

Machine specs:

  • OS: macos 10.14

Wrong storage requirements claimed in GUI Intro

Describe the issue

Text strings from Core are included and don't match the storage requirements for Elements / Liquid.

If so, please list the steps to reproduce below:

  1. Start -QT for the first time.

Expected behaviour

Should more accurately state the storage requirements (~600 MB on my machine).

Actual behaviour

The GUI displays the storage requirements as ~120 GB, which isn't accurate.

Screenshots

If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
screen shot 2019-02-15 at 12 21 30 pm

Machine specs:

  • OS: macOS Mojave

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.