Commit graph

237 commits

Author SHA1 Message Date
Eric Frias
2470af6eb9 Initial work on creating blockchain objects for sports betting 2017-03-15 17:04:27 -04:00
Roman Olearski
787019617f Summary commiting changes made since the last commit
modified:   libraries/app/impacted.cpp
	modified:   libraries/chain/db_init.cpp
	modified:   libraries/chain/db_maint.cpp
	modified:   libraries/chain/game_object.cpp
	modified:   libraries/chain/include/graphene/chain/protocol/operations.hpp
	modified:   libraries/chain/include/graphene/chain/protocol/tournament.hpp
	modified:   libraries/chain/protocol/tournament.cpp
	modified:   libraries/chain/tournament_object.cpp
	modified:   libraries/wallet/wallet.cpp
	modified:   programs/witness_node/main.cpp
	modified:   tests/CMakeLists.txt
	modified:   tests/common/database_fixture.cpp
	new file:   tests/tournament/tournament_tests.cpp
2016-11-28 12:36:18 +01:00
Vikram Rajkumar
7d721a1654 Decrease default p2p log level to avoid filling disk on initial sync 2016-11-18 17:07:19 -06:00
Roman Olearski
7f36b261bf Merge remote-tracking branch 'origin/dividends' into rock-paper-scissors
Adding new chain parameters
Distribute prize money when a tournament ends
2016-11-02 15:30:18 +01:00
Eric Frias
c4ad900026 Fix build error in member_enumerator when an operation includes an enum.
Implement the commit/reveal timeouts in RPS games, and generate automatic
("insurance") moves.  Make the CLI wallet watch for new games in
tournaments you're registered for.
2016-10-18 17:36:59 -04:00
Eric Frias
baab40070d Many changes, including a start to supporting peerplays games in the cli wallet 2016-10-03 12:14:48 -04:00
Eric Frias
eb8929f6fa Separate match object out from tournament and give it a fsm,
start changing genesis json
2016-09-20 14:36:06 -04:00
theoreticalbts
0f7f8acc03 debug_node: Create README.md 2016-03-28 15:54:32 -04:00
theoreticalbts
77ac461a8a Implement debug_node target #606 2016-03-15 13:36:29 -04:00
Eric Frias
a7f84df957 Allow disabling building test executables 2016-02-26 13:38:11 -05:00
Eric Frias
d3c6cbf4de Compile fixes for win32 and out-of-source builds 2016-02-17 09:17:00 -05:00
theoreticalbts
d280a57af0 js_operation_serializer: Add missing include #561, broken by #563 2016-02-15 21:30:00 -05:00
theoreticalbts
fe0920ddc8 Merge branches '538-fork-buyback', '562-util-check-reflection' and '575-bugfix-settle-reflect' into develop
Fix reflection bugs and enhance check_reflect.py
2016-02-15 15:37:50 -05:00
theoreticalbts
2cc0d73609 check_reflect.py: Detect #575 (*_object using FC_REFLECT rather than FC_REFLECT_DERIVED) 2016-02-14 17:22:23 -05:00
theoreticalbts
2eaa1b553b Merge branch 'check_reflection' into develop #562 2016-02-09 11:02:07 -05:00
theoreticalbts
078e63a79f Merge many bugfix branches into develop
Merged:

492-bugfix-open-fail #492
523-bugfix-multiple-blind-xfer #523
537-cleanup-remove-operation_get_required_authorities #537
540-cleanup-settle-volume-spam #540
542-bugfix-cancel-fee #542
557-bugfix-pts-address #557
559-test-fix-zero-block-wait #559
561-bugfix-serializer-build-broken #561
562-bugfix-unreflected-fields #562
2016-02-09 10:57:21 -05:00
theoreticalbts
2822aca94d Implement rough Python regular expression based reflection checker #562
Ironically this doesn't use the member_enumerator implemented in previous commit
2016-02-09 03:44:41 -05:00
theoreticalbts
915ebb5815 Implement member_enumerator to have FC dump class members #562 2016-02-09 03:44:39 -05:00
theoreticalbts
fe67b18065 js_operation_serializer: Add missing includes #466 #561 2016-02-08 15:39:01 -05:00
theoreticalbts
3edaf15652 Generate hardfork.hpp from hardfork.d directory #511 2016-01-11 10:09:03 -05:00
theoreticalbts
f1b19b1562 Merge branch '496-cleanup-license-header' into develop 2016-01-07 13:38:52 -05:00
Fabian Schuh
5111084730 [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
theoreticalbts
3c4764ce5a Merge branch '457-cleanup-remove-full-web-node' into develop 2016-01-07 11:32:57 -05:00
theoreticalbts
39220456ce Remove light_client 2015-11-23 10:04:54 -05:00
theoreticalbts
751d68789a Remove full_web_node #457 2015-11-23 10:04:26 -05:00
James Calfee
ed3ccca357 JavaScript serilizer generator updates #439 2015-11-09 17:26:51 -06:00
theoreticalbts
76ba85f93e genesis_util: Implement generate_init_config.py 2015-10-30 10:23:21 -04:00
theoreticalbts
7d9d96fe63 genesis_util: apply_patch appends to empty list with warning 2015-10-30 10:23:21 -04:00
theoreticalbts
e564539f88 change_asset_symbol.py: Fix permissions 2015-10-23 17:38:11 -04:00
theoreticalbts
f8b8f01a78 genesis_util: Implement some more genesis utilities 2015-10-23 15:00:31 -04:00
theoreticalbts
fc13ce4478 genesis_util: Implement create_bloom_filter 2015-10-21 13:29:31 -04:00
Daniel Larimer
1423f80f40 adding support for SIGTERM to exit witness cleanly from docker 2015-10-14 16:25:37 -04:00
theoreticalbts
fc95e83732 Merge remote-tracking branch 'graphene/master' into master 2015-10-14 14:41:59 -04:00
theoreticalbts
6dced3c54a genesis_util: Implement many new genesis utilities 2015-10-14 14:28:45 -04:00
theoreticalbts
73150e3c71 initialize initial_active_witnesses 2015-10-12 19:43:03 -04:00
theoreticalbts
5c0e5746e8 fix committee member format 2015-10-12 19:30:47 -04:00
theoreticalbts
f57cd74f1b generate_init_patch.py: Fix small problems 2015-10-12 18:04:43 -04:00
theoreticalbts
59758802d3 Implement new genesis_util's 2015-10-12 17:01:16 -04:00
theoreticalbts
d0609e8e74 Update copyright notice for BitShares 2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2 Update copyright notice 2015-10-12 13:32:47 -04:00
theoreticalbts
3023a37b80 genesis_util: Implement two new utilities 2015-10-09 15:38:34 -04:00
Daniel Larimer
f45fabd5c8 update full web node name 2015-10-08 13:40:58 -04:00
theoreticalbts
60b5228818 Implement remove.py 2015-10-05 10:57:36 -04:00
Eric Frias
83b4edf870 Avoid closing p2p node in exception handler 2015-09-27 18:32:53 -04:00
Daniel Larimer
c98eef2fb4 fix full node build 2015-09-22 16:51:38 -04:00
Daniel Larimer
d3d7c379b0 progress toward building mac installer 2015-09-21 09:30:51 -04:00
Daniel Larimer
009344cefe removing generated files 2015-09-21 09:30:32 -04:00
Daniel Larimer
b5aa715537 fix dev tool for release mode 2015-09-18 16:47:58 -04:00
Daniel Larimer
7237ef618f making full node more configurable and passing relevant info to web api 2015-09-18 14:22:20 -04:00
Daniel Larimer
465280fbcb Improved Logging, track blocks missed by witnesses 2015-09-18 09:13:17 -04:00
Daniel Larimer
e044c5303a fix full node initial url 2015-09-17 17:55:47 -04:00
Daniel Larimer
9080800c5b Updated APIs, fixed crash
- update fc to fix crash in websocket message handling
- added api to verify transactions without broadcasting them
- added api to broadcast a block produced outside the P2P network or
witness
2015-09-07 17:46:47 -04:00
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