Commit graph

185 commits

Author SHA1 Message Date
Eric Frias
a943de8b76 When rolling back on save, remove the rolled back blocks from our
databases so when we restart and begin syncing, we re-download and
push those rolled back blocks  (fixes bug introduced in
a5071f2568).
Fix logging of incorrect block numbers in p2p log.
2015-09-04 15:22:12 -04:00
theoreticalbts
c65f37ed6b cli_wallet: Exit instead of hanging when disconnected #291 2015-09-02 14:57:02 -04:00
theoreticalbts
5a923697ad genesis_util: Implement utility for updating keys of genesis.json witnesses / testnet dev accounts 2015-08-31 17:26:03 -04:00
Daniel Larimer
2a494d9de0 Merge branch 'witness_schedule_refactor'
Also fix object_id addition
2015-08-27 11:33:42 -04:00
Daniel Larimer
e5106c15a3 update subscribe callback 2015-08-26 18:01:48 -04:00
theoreticalbts
6c052294e1 Remove block randomness and rewrite witness scheduling 2015-08-26 15:36:27 -04:00
Daniel Larimer
a79eff2761 progress toward witness schedule refactor 2015-08-25 13:45:20 -04:00
theoreticalbts
aeebb1be09 cli_wallet: Copy ws_server, ws_user, ws_password to new wallet 2015-08-24 15:15:31 -04:00
Nathan Hourt
9c0c588ed6 [FWN] Remove deprecated scheduling code 2015-08-19 11:40:45 -04:00
Nathan Hourt
3a9d0df75c [FWN] Create privileged API login for web UI
This resolves #249
2015-08-19 11:40:31 -04:00
Nathan Hourt
5fbff6cf52 Resolve #238: Light client now fetches chain_id from chain_properties 2015-08-19 10:23:06 -04:00
Nathan Hourt
5aa884c574 #237: Create new delayed_node app
Delayed node is much like witness_node, except it doesn't have support
for block productuion (thus cannot be a witness) and it is not intended
to use the P2P network. The delayed node requires a trusted node it can
connect to via RPC and download blocks from. The delayed node will only
download blocks from the trusted node if those blocks have received a
configurable number of confirmations.

This commit effectively resolves #237
2015-08-17 16:38:55 -04:00
Nathan Hourt
03175707ff [FWN] Serve web from QRC instead of HTTP 2015-08-14 16:22:21 -04:00
Nathan Hourt
50b460f215 [FWN] Fix improper initialization of plugins 2015-08-14 15:52:25 -04:00
Nathan Hourt
4f19667fe3 [FWN] Embed web UI into binary 2015-08-14 15:28:24 -04:00
Nathan Hourt
f3a044d963 [FWN] It seems to work now... 2015-08-14 15:28:24 -04:00
Nathan Hourt
4906882895 [FWN] Start full node and listen on 8090
Not yet working, but it's progress!
2015-08-12 15:47:04 -04:00
Nathan Hourt
de8ccf0ea4 [FWN] Create BlockChain class 2015-08-12 15:47:03 -04:00
Nathan Hourt
8fc1ac736b Add new full_web_node target
This will eventually run a full node complete with bundled web GUI
2015-08-12 15:47:03 -04:00
theoreticalbts
d45e7509f1 cli_wallet: Fix message formatting 2015-08-07 16:45:53 -04:00
theoreticalbts
4d8033443c application.cpp: Use egenesis instead of create_example_genesis() 2015-08-07 16:45:53 -04:00
Nathan Hourt
4587e19b18 [GUI] Add status readout to transaction 2015-08-07 15:14:30 -04:00
Nathan Hourt
888e174373 [GUI] Fix build after Ben's chain_id changes 2015-08-07 15:13:43 -04:00
Vikram Rajkumar
b4fddebf24 Remove broken, unused cli_full_wallet 2015-08-06 16:09:58 -04:00
theoreticalbts
fa5bbb830f Revert "fix egenesis build by removing it until theretical can fix it"
This reverts commit 274682d431.
2015-08-06 14:53:32 -04:00
Daniel Larimer
274682d431 fix egenesis build by removing it until theretical can fix it 2015-08-06 14:46:56 -04:00
theoreticalbts
2e9876b557 Implement chain-locked transactions 2015-08-06 12:56:37 -04:00
theoreticalbts
9f9c1e7895 egenesis: Initial implementation of embedded genesis 2015-08-06 12:42:59 -04:00
theoreticalbts
1556fc5e54 Remove vestigial field_reflector 2015-08-06 12:40:53 -04:00
theoreticalbts
97137c8808 Add cli_full_wallet to CMakeLists.txt, fix include 2015-08-06 12:40:53 -04:00
theoreticalbts
c7444f8d4d Implement minimal "make install" command #219 2015-08-06 12:40:53 -04:00
Nathan Hourt
a04995a9f2 [GUI] Fix build on Linux 2015-08-05 22:54:03 -04:00
Nathan Hourt
762c8712a8 [GUI] Properly implement transaction delegate
Now that sending transactions works, it was time to rewrite the GUI
representation of a transaction to be general enough for more than just
one transaction type.
2015-08-05 16:03:13 -04:00
Nathan Hourt
543c505e40 [GUI] Tweaks, bug fixes, facelifts 2015-08-03 14:59:34 -04:00
Nathan Hourt
eda4bae359 [GUI] Transfers now work! 2015-08-03 11:59:02 -04:00
Nathan Hourt
99d6450473 [GUI] Implement transaction broadcasting
Still need to set expiration, so none of the transactions I broadcast
work yet... :( Sadly there is no testnet so I can't finish this. Oh well.
I'm sure it'll be much easier on Monday.
2015-07-31 17:56:27 -04:00
Nathan Hourt
02682e761c [GUI] Add option to encrypt transfer memos
Also, refactor common unlocking finish/cancel buttons into a reusable
component
2015-07-31 17:56:27 -04:00
Nathan Hourt
b789dff678 Fix build 2015-07-31 09:51:05 -04:00
Nathan Hourt
82ea3c1edd [GUI] Add transaction signing
TODO: encrypt the memo (some work to facilitate this is done in this
commit)
2015-07-29 17:56:37 -04:00
Nathan Hourt
391cb5e627 [GUI] Fix args to callback in FormBox.qml 2015-07-29 16:36:03 -04:00
Nathan Hourt
75f05a8b1f [GUI] Fixes in TransferForm.qml 2015-07-29 15:59:15 -04:00
Nathan Hourt
03e16afdb2 [GUI] Progress circa wallet and keys
- Fixes to wallet
- Open or create wallet on startup
- Add support for importing keys
- Show user what level of ownership they have over accounts
2015-07-29 15:50:18 -04:00
Nathan Hourt
2c77085bdf [GUI] Early work on visualizing a transaction
Super ugly right now, just showing that the data is actually there
2015-07-27 16:59:55 -04:00
Nathan Hourt
5d7ae4e6a8 [GUI] More work to support transactions
- Refactor GUI with FormBase.qml
- Fix memo handling in TransferOperation
- Add TransactionConfirmationForm.qml which will eventually display a
transaction for confirmation
2015-07-27 16:01:22 -04:00
Daniel Larimer
bd4ab4f168 resolving conflict in command line short cut for -h 2015-07-27 09:12:04 -04:00
Nathan Hourt
f25a1ea360 [GUI] Lay out more transaction infrastructure
A little more backend development, and create some GUI framework for a
confirmation dialog
2015-07-24 15:55:58 -04:00
Nathan Hourt
972c9a6407 [GUI] Remove broken toQstring function 2015-07-24 13:57:51 -04:00
Daniel Larimer
36ba2e1d45 integrate wallet with GrapheneApplication and Account 2015-07-23 10:56:07 -04:00
Daniel Larimer
0911bb605c Implement Wallet.hpp API 2015-07-23 09:32:29 -04:00
Daniel Larimer
8c0b1e86f7 more partial work on the wallet 2015-07-22 18:37:00 -04:00
Nathan Hourt
8cab71c584 [GUI] Initial work on Transaction type 2015-07-22 17:43:54 -04:00
Daniel Larimer
119599d13d partial work on implementing Wallet 2015-07-22 16:59:22 -04:00
Daniel Larimer
f2638a9cdf Adding stub for Wallet API 2015-07-22 16:23:42 -04:00
Nathan Hourt
0159a5c36b Add missing header 2015-07-22 14:56:02 -04:00
Nathan Hourt
3196eb75a7 Fixes 2015-07-22 13:17:49 -04:00
Nathan Hourt
1667a72144 [GUI] Break up ClientDataModel.{c,h}pp into many files
This has been needing to happen. Now it's done. There's no going back.
2015-07-22 11:10:52 -04:00
Nathan Hourt
ce84de41be [GUI] Fix object update notification handling 2015-07-21 17:56:52 -04:00
Nathan Hourt
f72f07b05b [GUI] Early implementation of operations 2015-07-21 17:09:50 -04:00
Nathan Hourt
2389d2f352 [GUI] Fix build 2015-07-21 14:26:47 -04:00
Nathan Hourt
6bdc0f69b6 [GUI] Add support for balance update notifications
TODO: Figure out why maximum value in transfer form doesn't update
2015-07-20 17:53:51 -04:00
Vikram Rajkumar
d0b8c66aad Fix Linux Clang build with missing includes; resolve #174 2015-07-20 14:57:08 -04:00
Nathan Hourt
2530ffb06c [GUI] Fix build following e4c29cbe78 2015-07-20 12:21:58 -04:00
Nathan Hourt
34a3c17af4 [GUI] Add some docs in the QML 2015-07-17 16:39:01 -04:00
Nathan Hourt
e221fabe39 [GUI] Fixes in transfer form 2015-07-17 16:06:39 -04:00
Nathan Hourt
0fe9276c44 [GUI] Refactor ClientDataModel, implement account balances 2015-07-17 16:06:39 -04:00
Eric Frias
9c8eb7d63b Avoid crashing on error parsing invalid ini file format requried by
boost::program_options, temporary workaround for #167
2015-07-16 14:14:40 -04:00
Nathan Hourt
b056b0f499 [GUI] Tweaks to the identicon behavior 2015-07-15 18:14:48 -04:00
Nathan Hourt
05efa54598 [GUI] Add memo field to transfer form 2015-07-15 17:55:16 -04:00
Nathan Hourt
b433f90a55 [GUI] Use assets and balances in transfer form 2015-07-15 17:55:16 -04:00
Eric Frias
8944facd41 Fix signed/unsigned mismatch warning 2015-07-15 14:53:43 -04:00
Eric Frias
aa794e7836 By default, log p2p messages to logs/p2p/p2p.log, default to stderr,
progress on #149
2015-07-15 14:38:46 -04:00
Nathan Hourt
b24006cca3 [GUI] Fix build 2015-07-15 00:33:33 -04:00
Nathan Hourt
59f65d1411 [GUI] Fix ownership of asset objects 2015-07-15 00:25:46 -04:00
Daniel Larimer
b9f6ee4f2c adding asset fetching 2015-07-14 17:36:18 -04:00
Daniel Larimer
80319893c2 updating UI for asset supprot 2015-07-14 17:30:15 -04:00
Nathan Hourt
d176429dad [GUI] Add connection loss detection and reestablishment 2015-07-14 16:50:31 -04:00
Nathan Hourt
1813e9f5f6 [GUI] Fix crash from user-after-free
The QML engine was taking ownership of Account objects, and garbage
collecting them when it was done with them, thus causing a crash when
the C++ accessed them. Fix by explicitly marking Account objects as
being owned by the C++ so QML doesn't garbage collect them.
2015-07-14 16:08:54 -04:00
Nathan Hourt
419ab4f932 [GUI] UX tweaks 2015-07-14 15:36:19 -04:00
Nathan Hourt
5f5f376ed3 [GUI] More work on transfer form 2015-07-14 15:06:00 -04:00
Nathan Hourt
f57205a2e6 [GUI] Fix CMake error, add README.md 2015-07-14 13:06:32 -04:00
Nathan Hourt
72f5284e49 Fix build 2015-07-14 12:38:59 -04:00
Daniel Larimer
957381968b lookup of account by name and id work 2015-07-14 09:46:38 -04:00
Daniel Larimer
98e761c9c2 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-13 17:24:29 -04:00
Daniel Larimer
3b1fb47872 Crazy Bug 2015-07-13 17:24:25 -04:00
Nathan Hourt
3ad1c1715d [GUI] Add name field and identicon to transfer form 2015-07-13 17:22:17 -04:00
Nathan Hourt
b8bd8a1905 [GUI] Add debugging UI for fetching accounts 2015-07-13 16:21:05 -04:00
Vikram Rajkumar
70b77be3bc Rename bad references to genesis account -> committee account; #147 2015-07-13 16:08:16 -04:00
Daniel Larimer
f01a5889e6 Added ability to fetch accounts 2015-07-13 15:41:06 -04:00
Daniel Larimer
41de02aadb this file shouldn't be here 2015-07-13 14:36:15 -04:00
Nathan Hourt
8108360a1b [GUI] Remove datadir argument, set app metadata 2015-07-13 14:35:17 -04:00
Nathan Hourt
bca5eb1fc9 [GUI] Initial work on showing dialogs 2015-07-13 14:21:32 -04:00
Nathan Hourt
2fda814b76 [GUI] Ben: Y U Break my CMakeLists? 2015-07-13 14:20:36 -04:00
Daniel Larimer
bfd7f372b6 interthread communication added 2015-07-13 14:14:58 -04:00
Daniel Larimer
ef76b3daab creating thread/basic linking 2015-07-13 13:56:30 -04:00
Daniel Larimer
1d50dcd17b fix build 2015-07-13 13:24:30 -04:00
Nathan Hourt
7d18c286a4 [GUI] Build out infrastructure a bit 2015-07-13 13:19:10 -04:00
theoreticalbts
af638cdd6d light_client: Don't use AUTORCC as it requires CMake 3+ 2015-07-11 16:31:40 -04:00
Nathan Hourt
8441df260c [GUI] Remove MainForm.qml, persist geometry 2015-07-10 18:56:04 -04:00
Nathan Hourt
81dd83226b Add simple demo GUI 2015-07-10 17:37:39 -04:00
Eric Frias
6237740ebc Fix compile error introduced in a799f064d4 2015-07-10 11:46:24 -04:00