Commit graph

562 commits

Author SHA1 Message Date
root
b307557182 add simple pagination to get_asset_holders 2017-06-14 17:47:18 +00:00
Matias Romeo
ea8f8964eb Implement network_broadcast_api::broadcast_transaction_synchronous (ported from steem) 2017-06-12 18:22:34 -03:00
Abit
919787d281 Merge pull request #306 from oxarbitrage/patch-12
get_full_accounts change, allow 100 subscribed accounts instead of 99. issue #295
2017-06-10 17:38:48 +02:00
BhuzOr
fc18c4812c Fix for block_num != 0
Backport from Steem/BitShares
Some info here: https://github.com/bitshares/bitshares-core/issues/273
2017-06-09 00:21:35 -03:00
BhuzOr
661a5ea5b0 Catch DNS exceptions when adding seed nodes 2017-06-09 00:20:17 -03:00
PBSA Github Manager
b4d43437a6 Updated seednodes from witnesses 2017-06-08 23:40:44 -03:00
oxarbitrage
773a2d0caf get_full_accounts change
allow 100 subscribed accounts instead of 99.
2017-06-08 18:43:36 -03:00
root
9200cc83c3 fix get_order_book 2017-06-08 12:27:51 +00:00
Viktor
32758955df Change default seed node 2017-06-06 18:18:27 +03:00
Viktor
b7e11ae9d6 Update max core supply in genesis, properly track total supply for vesting balances in bts accounts and other changes 2017-06-06 11:17:04 +03:00
Abit
feabafd45f Merge pull request #297 from abitmore/292-acc-his-prune
Account history: option to prune old data (#292)
2017-06-06 00:42:54 +02:00
Abit
df787c9062 Fix latency check error 2017-06-05 00:32:44 +02:00
BhuzOr
83f9e46668 Validate block timestamps
Reject blocks with timestamp too far in the future
Backport from BitShares: https://github.com/bitshares/bitshares-core/pull/17
2017-06-04 15:16:49 +02:00
Abit
1ce4d36532 Check block latency after logging. 2017-06-04 01:47:02 +02:00
Vikram Rajkumar
f9f60770f9 Revert "Merge branch 'goho' of git://github.com/oxarbitrage/bitshares-core into oxarbitrage-goho"
This reverts commit 628652f3eb, reversing
changes made to 568ceb189e.
2017-06-03 16:05:17 -05:00
Vikram Rajkumar
a263279b76 Revert "Fix warnings; #296"
This reverts commit 40c7a7ffa3.
2017-06-03 16:03:52 -05:00
Vikram Rajkumar
40c7a7ffa3 Fix warnings; #296 2017-06-02 19:38:30 -05:00
abitmore
504aa5dccd Account history: option to prune old data (#292) 2017-06-02 16:16:34 +00:00
root
615321cc18 added get_account_transaction_history_id and some fixes 2017-05-31 23:11:29 +00:00
root
7c3904bfae adding get_operation_history_id 2017-05-31 20:45:25 +00:00
kstdl
342e6db610 inital 2017-05-25 12:13:59 +03:00
Roman Olearski
0c14896a3d done acounts_list_plugin 2017-05-22 19:49:10 +02:00
Roman Olearski
3e4d9c2aa3 added acounts_list_plugin 2017-05-22 17:57:35 +02:00
SahkanDesertHawk
68247a9ec9 Update application.cpp 2017-05-21 18:34:19 -10:00
Vikram Rajkumar
f13698370b Clean up replay logic; resolve #175 2017-05-21 18:40:54 -05:00
Vikram Rajkumar
aaf6c5e8f8 Merge remote-tracking branch 'cnx/587-bugfix-witness-reindex-logic' 2017-05-21 17:10:10 -05:00
Vikram Rajkumar
cda895abd6 Update seed node 2017-05-16 13:18:38 -05:00
Vikram Rajkumar
6e9c0adf5d Update seed nodes 2017-05-10 15:52:10 -05:00
Abit
42afa14012 Merge pull request #274 from bitshares/273-sync-error
Fix `block_num != 0` syncing issue #273
2017-05-10 20:22:36 +02:00
oxarbitrage
8dd663aaf6 get_relative_account_history: adding limit > 0 check #279 (#281) 2017-05-10 17:33:40 +02:00
oxarbitrage
13c3fa0af7 fix get_relative_account_history node api call
for issue https://github.com/bitshares/bitshares-core/issues/279 and as discussed in telegram with @abitmore.
2017-05-09 20:20:19 -03:00
Roman Olearski
c18945f592 added reflections for betting API Calls 2017-05-09 13:49:41 +02:00
Eric Frias
428911db02 Fix an bug that was accounting for bets that couldn't be placed due to insufficient
funds.  Implement (commented-out) automatic random bets, along with invariant
checks between each bet.
2017-05-09 13:46:51 +02:00
Abit
27f2808520 Fix block_num != 0 syncing issue #273 2017-05-06 23:46:09 +02:00
Vikram Rajkumar
cfb2718a1e Fix build; #262 2017-04-25 21:18:16 -05:00
root
0aae0ea40c added get_block_header issue #262 2017-04-19 01:16:49 +00:00
alt
a3fe0e128c return force settlement order with the get_full_account api 2017-04-15 12:24:51 +10:00
Eric Frias
f7113d3d05 [DLN] change parameters to tournament_leave_operation to specify the account canceling the registration instead of the payer. The canceling acount must be either the payer or the player. Don't allow a player to leave a tournament once registration has been closed. Require player to be authorized for the asset being paid as tournament prize winnings during tournament_join_operation. Tests still need to be made for these changes. 2017-04-10 23:29:02 -04:00
Roman Olearski
c60e88d054 Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors 2017-04-10 19:07:56 +02:00
Roman Olearski
33e2f4fd14 Implementing missing functionality
Peerplays Blockchain pre-launch settings & modifications I II III

Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors-ro
2017-04-07 17:28:53 +02:00
Eric Frias
6045b8b096 Add a simple test fixture to verify a bet plays out correctly in all three
outcomes.
Fix refunding fees on market cancelation
2017-03-31 17:56:00 -04:00
Vikram Rajkumar
53b40ba5a6 Restore get_ticker batch size to 100 2017-03-24 17:08:48 -05:00
Vikram Rajkumar
b209915a36 Return latest price in get_ticker even if older than 24 hours 2017-03-24 16:50:03 -05:00
Vikram Rajkumar
12be59db79 Fix crashes in get_ticker and get_24_volume; #250 2017-03-24 16:28:04 -05:00
Eric Frias
69192a889d Generate a virtual op when a market is resolved 2017-03-24 11:51:35 -04:00
SynaptiCAD User
094004db7b fix peerplays list functions 2017-03-24 11:04:35 -04:00
Eric Frias
784b11059f Start implementing bettimg_market_resolve op 2017-03-23 19:35:10 -04:00
SynaptiCAD User
c0776eb1dc add get_global_betting_statistics api call 2017-03-23 00:36:18 -04:00
SynaptiCAD User
a267741fd1 added global_betting_statistics implementation object. Object is created, but nothing talks to it yet. 2017-03-23 00:36:18 -04:00
elmato
31f322c9cd Handle new,changed and removed events from the database_object in one generic function 2017-03-22 20:14:53 +00:00
elmato
6f1d8b548b Replace clear_filter parameter with notify_remove_create 2017-03-22 20:14:53 +00:00
elmato
aab5fddb2f Keep track of subscribed accounts and check for events that reference them 2017-03-22 20:14:53 +00:00
elmato
bfa600c559 handle new database_object signals, refactor 2017-03-22 20:14:53 +00:00
alfredo
73abb804ae make less false positives( no false positive given in tests with this setting) 2017-03-22 20:14:53 +00:00
elmato
0bc0513e20 set_subscribe_callback: always initialize bloom filter 2017-03-22 20:14:53 +00:00
elmato
342e33008c Restore bloom filter usage: Check if the object changed/removed was previously subscribed (read) before sending updates back to ws clients 2017-03-22 20:14:53 +00:00
Eric Frias
3feea69a4c Stub out bet fill virtual op 2017-03-22 16:02:57 -04:00
Eric Frias
4cdcbe32da Validate the fee paid when placing a bet. Add virtual op for canceling bet 2017-03-22 15:04:11 -04:00
SynaptiCAD User
c42a56d332 implement bet_cancel_operation 2017-03-22 12:06:08 -04:00
Eric Frias
06c56484de Add blockchain parameters to limit the allowed bet odds, start data structure to
track an account's market position
2017-03-21 18:10:02 -04:00
SynaptiCAD User
f99bf1c6e6 [DLN] implement list_betting_markets(betting_market_group) 2017-03-19 22:44:16 -04:00
SynaptiCAD User
2d4f18280f [DLN] implement list_betting_market_groups(event_id) 2017-03-19 22:12:31 -04:00
SynaptiCAD User
20a64be400 [DLN] implement list_event_groups(sport_id) 2017-03-19 20:40:17 -04:00
Vikram Rajkumar
9bbbefd391 Update fc submodule 2017-03-18 11:52:06 -05:00
Thomas Freedman
15066260f2 Updated definition of Thom seed nodes 2017-03-17 16:02:11 -05:00
Eric Frias
db6b312784 Stub out the bet object and the operation for placing it (currently breaks
json_serializer builds, until I port over some code into fc)
2017-03-16 19:37:26 -04:00
Vikram Rajkumar
8ae1f6b3a5 Remove NTP time 2017-03-16 12:53:52 -05:00
SynaptiCAD User
43f91d83fc [DLN] implement list_sports() API call 2017-03-15 19:06:39 -04:00
Eric Frias
2470af6eb9 Initial work on creating blockchain objects for sports betting 2017-03-15 17:04:27 -04:00
kstdl
6b2927a693 limit check added 2017-03-07 13:28:07 +03:00
Vikram Rajkumar
c149a5b9b1 Update seed nodes 2017-03-01 17:12:04 -06:00
Abit
0f7142d9d2 Merge pull request #239 from lafona/lafona-seed-node
adds seednode run by lafona
2017-03-01 11:16:36 +01:00
lafona
81039c0b8e adds seednode run by lafona 2017-02-28 08:24:54 -05:00
root
3d349fbde4 added api function get_account_history_operations 2017-02-22 15:35:37 -08:00
kstdl
895fbec5bc get_tournaments and get_tournaments_by_state method added 2017-02-20 18:09:37 +03:00
Taconator
eb4db2963e - CLI: Derive possible owner keys from a brain key
- Test: Derive possible owner keys from a brain key

- CLI enhanced to permit checking of whether a public key is currently linked to a registered account

- Database API enhanced to permit checking of whether a public key is currently linked to a registered account

- Test: Check whether a public key is currently registered/associated with an account
2017-02-16 16:22:35 -05:00
alfredo
422d895807 Added withdraw permissions to get_full_account api function. requested in issue #230. 2017-02-09 17:20:24 -03:00
alfredo
9ea386aa10 added list of assets created by account output to get_full_accounts api function 2017-02-02 18:20:21 -03:00
alfredo
f2c049265e Asset API Added 2 functions 2017-01-31 21:25:17 -03:00
Vikram Rajkumar
fa9f7a7c0b Merge pull request #225 from elmato/block-api
Add new API (block_api)
2017-01-30 18:37:52 -06:00
Vikram Rajkumar
8cc042a589 Merge pull request #224 from elmato/asset-api
Add new API (asset_api)
2017-01-30 18:37:44 -06:00
elmato
6165434265 Add block api to retrive blocks in bulk. 2017-01-27 09:41:50 +00:00
elmato
cdc0b3bf08 Add new API (asset_api) to query the full list of accounts that holds a specific asset 2017-01-27 09:14:54 +00:00
elmato
77645d889f Auto login on every ws/rpc connection. Use HTTP Authorization header information if present 2017-01-27 07:42:58 +00:00
elmato
adf288b4ad Make login_api::enable_api public 2017-01-27 07:40:50 +00:00
Vikram Rajkumar
f270b65597 Revert "Add a command-line option to witness_node, --disable-permessage-deflate"
This reverts commit c39f97885d.
2017-01-12 17:47:44 -06: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
Roman Olearski
a66af8b072 enhancing tournament_payout operation according issues 8 9 2016-11-23 11:33:24 +01:00
Vikram Rajkumar
64e27bde93 Fix build 2016-11-17 15:56:11 -06:00
Vikram Rajkumar
13569d2d37 Merge commit 'a3cfa1055edb016d8d3b80258657862668f8598f' into bitshares 2016-11-17 15:39:56 -06:00
Vikram Rajkumar
75f238d15f Remove unreachable seed nodes 2016-11-17 15:37:32 -06:00
Roman Olearski
1530f04882 added operation tournament_payout_operation 2016-11-17 18:04:32 +01: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
30874697cc Rework the API calls for tournaments, add an index for getting tournaments
registered by a given account
2016-10-21 12:14:37 -04:00
Eric Frias
7c30da6b6d Simple two-player tournaments are working if you don't do anything fancy 2016-10-14 19:43:38 -04:00
abitmore
82cf1a10af Merge branch 'patch-2' of https://github.com/iPerky/muse into iPerky-patch-2
Conflicts:
	libraries/app/application.cpp
2016-10-14 00:13:23 +08:00
iHashFury
4d0d3fb313 Update application.cpp
remove old seed node
2016-10-10 20:14:27 +02:00
roelandp
4251d40ab8 Added my public seed node for bitshares2
Type: Dedicated
Processor: Intel Xeon D-1521
Ram: 32 GB DDR4
HDD: 2 x 2 TB
Connection: 1 Gbit/s
Location: Canada

Next to my Steem Witness, I thought it would be nice to strenghten the BTS network. At first with a public seed, later with a witness application I think. See https://steemit.com/witness-category/@roelandp/witness-roelandp if you want to learn more about me and my witness.
2016-10-10 16:51:32 +02: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
abitmore
0ad83697f0 Catch DNS exceptions (rework - part 2). #618 2016-09-15 17:11:22 +08:00
abitmore
39a5805491 Catch DNS exceptions (rework - part 1). #618 2016-09-15 17:09:03 +08:00
Eric Frias
55255010df Add get_upcoming_tournaments wallet call, clean up logging 2016-09-14 11:52:22 -04:00
Sigve Kvalsvik
a3cfa1055e Merge pull request #585 from xeroc/584-remove-warning
Remove unnecessariy warning (issue #584)
2016-09-06 22:07:05 +02:00
Eric Frias
66bf0545c5 Add api call for getting a list of upcoming tournaments 2016-09-04 17:52:43 -04:00
Eric Frias
c2f3beb5d6 Initial data structures for creating/joining tournaments 2016-09-01 14:28:46 -04:00
Eric Frias
be6ad130d9 Code cleanups -- renaming variables, adding comments, fix one bug with override transfers
and dividend assets
2016-08-26 11:29:37 -04:00
abitmore
ead2db3272 application.cpp: Validate block timestamps #645 2016-08-05 16:22:32 +02:00
Fabian Schuh
a2fa90bd7d Merge pull request #17 from abitmore/fix-645-block-timestamp
Reject blocks with timestamp too far in the future
2016-08-02 08:56:12 +02:00
abitmore
2cf8fb62c9 application.cpp: Validate block timestamps #645 2016-07-30 05:39:41 +08:00
Eric Frias
b584ee15dd Separate out unit tests for dividend-assets into their own test suite 2016-06-30 12:05:16 -04:00
Eric Frias
7857ac48a4 Correctly generating virtual transactions for payouts 2016-06-27 16:24:13 -04:00
Eric Frias
abc7853c99 Initial work on dividend-paying assets. Basic functionality works in simple
cases.
2016-06-26 15:41:07 -04:00
Nicolas Wack
ade25492e4 Added wackou's seed to default seed nodes 2016-05-06 19:57:01 +02:00
Fabian Schuh
f762036741 Merge pull request #14 from abitmore/patch-5
Update abit's seed node
2016-05-04 17:22:23 +02:00
iHashFury
d976400912 Update seed nodes 2016-05-04 16:21:41 +02:00
Michael Vandeberg
46d804e596 Bug Fix 2016-04-20 11:42:29 -04:00
abitmore
fcddafb82d Update abit's seed node 2016-04-18 09:54:48 +02:00
Michael Vandeberg
2fb3cb1078 Merge branch '592-get_ticker' into develop 2016-04-14 09:50:02 -04:00
theoreticalbts
3865dd1573 Merge remote-tracking branch 'graphene/develop' into bitshares 2016-03-25 20:15:32 -04:00
Michael Vandeberg
7caf77d6bf Bug Fix 2016-03-17 18:18:00 -04:00
Nathan Hourt
b2835bc02d Add headers to install targets 2016-03-17 17:16:13 -05:00
theoreticalbts
4dbfe53f1f Merge remote-tracking branch 'graphene/develop' into bitshares 2016-03-16 01:09:52 -04:00
theoreticalbts
006d548633 Merge branch '606-debug-node' into develop
Conflicts:
	libraries/app/CMakeLists.txt
2016-03-16 01:09:21 -04:00
theoreticalbts
7574aea75a Merge branches '477-history-account-history-indexing', '592-get_ticker', '599-fork-ext-unpack', '607-fork-disable-negative-worker-votes', '613-fork-deprecate-annual' and '615-fork-feed-expiration' into develop 2016-03-16 01:08:27 -04:00
theoreticalbts
c37c2d4543 debug_api: Take application object, not database, as parameter #606 2016-03-15 13:36:29 -04:00
theoreticalbts
77ac461a8a Implement debug_node target #606 2016-03-15 13:36:29 -04:00
Michael Vandeberg
ae82e0a9a6 Tested and validated the new get_relative_account_history API call. 2016-03-15 12:25:01 -04:00
Michael Vandeberg
9485ebfd64 Fixed bug in get_account_history that prevented all operations from being returned when specific bounds were set. 2016-03-15 12:25:01 -04:00
Michael Vandeberg
c89d60ba92 First implementation of get_account_history api changes. 2016-03-15 12:25:01 -04:00
Eric Frias
36164263f4 Make websocket compression disabled by default, since it causes problems in Chrome.
Change the command line option to --enable-permessage-deflate to override. #619
2016-03-14 18:27:28 -04:00
abitmore
8c4ce14457 Update abit's seed node; Remove alt's seed node 2016-03-12 10:32:39 +01:00
Eric Frias
c39f97885d Add a command-line option to witness_node, --disable-permessage-deflate
to prevent the websocket server from allowing compression on clients
that support it. #619
2016-03-11 14:49:43 -05:00
Eric Frias
b175cc7feb Revert "Merge branch 'graphene_master' into bitshares"
This reverts commit 2d0a7a2a4d, reversing
changes made to 6684fb75ac.
2016-03-11 14:19:31 -05:00
Eric Frias
2d0a7a2a4d Merge branch 'graphene_master' into bitshares 2016-03-11 11:40:48 -05:00
Eric Frias
403d3001f6 Add a command-line option to witness_node, --disable-permessage-deflate
to prevent the websocket server from allowing compression on clients
that support it. #619
2016-03-10 17:33:14 -05:00
Fabian Schuh
57e1f5f181 Merge pull request #8 from abitmore/abitmore-patch-1-seednode
Add harvey's seed node
2016-03-08 08:54:23 +01:00
Fabian Schuh
6885f215a4 Merge pull request #7 from btscube/bitshares
Update bitcube's seed node address
2016-03-08 08:54:10 +01:00
Michael Vandeberg
4b346579a8 Fixed to follow QUOTE:BASE semantics. Cleanup and added in wallet calls that were missed in last merge. #592 2016-02-25 16:46:31 -05:00
theoreticalbts
4096d34f88 Merge remote-tracking branch 'graphene/develop' into bitshares at commit 8dd7dbc5b8 2016-02-23 13:40:26 -05:00
theoreticalbts
62a414ac85 application.cpp: Cleanup re-indexing logic #587 DOES NOT COMPILE 2016-02-23 10:48:07 -05:00
Michael Vandeberg
a675023b9f #592 Fixes ticker except for percent change of market 2016-02-22 14:02:20 -05:00
theoreticalbts
4f9bf7cc21 Merge remote-tracking branch 'graphene/develop' into bitshares at commit 1153d77dba
Conflicts:
	libraries/chain/include/graphene/chain/config.hpp
2016-02-16 11:32:14 -05:00
theoreticalbts
d6863a587c Merge branch graphene/develop into bitshares at commit '447018b319668deddf4d55baac168c1afc0a5e21'
Conflicts:
	libraries/chain/include/graphene/chain/hardfork.hpp
	libraries/fc
2016-02-16 11:16:36 -05:00
theoreticalbts
ce8a6ec518 Merge branch graphene/develop into bitshares at commit '399e0ed9f970908ea7c2c5c43a64a28303c143b8' 2016-02-16 11:05:33 -05:00
theoreticalbts
42140fccaa Merge branch graphene/develop into bitshares at commit 'f1b19b15' 2016-02-16 11:04:31 -05:00
Fabian Schuh
b574e815a3 Remove unnecessariy warning 2016-02-16 10:01:13 +01:00
theoreticalbts
92685af364 Merge branch '563-fork-stealth-fee-routing' into develop
Includes dependency '572-fork-reenable-asset-perms'
2016-02-15 15:37:22 -05:00
theoreticalbts
5dd56bd824 Implement FBA fee routing for STEALTH #563 2016-02-15 15:33:21 -05:00
theoreticalbts
e46af9f372 Merge branch '538-fork-buyback' into develop
Includes dependencies '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check'
2016-02-11 13:03:19 -05:00
Daniel Larimer
146c0c4d8e Clean up some non-determisitic behavior, maybe fix #485
1. Replace ordered_non_unique indexes with composite keys / ordered_unique, using object_id as tiebreaker.
2. Make some casts more explicit.

This commit was rebased by theoreticalbts due to conflicts with the patches for #466 #562 including bugfixes

- Fix flipped comparison operator
- Implement operator> and operator!= for object_id_type
2016-02-11 13:02:11 -05:00
theoreticalbts
c33fe35e4e Implement buyback accounts #538 2016-02-11 04:59:28 -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
a1e8fc0741 Implement top_n special authority #516 2016-01-27 10:30:32 -05:00
theoreticalbts
aa6d13b057 Remove by_account index from account_object #529 2016-01-21 10:39:13 -05:00
abitmore
d6db289717 Add alt's seed node 2016-01-13 10:30:33 +01:00
abitmore
65f7c1ca62 Remove the extra comma from seed node list 2016-01-12 23:04:27 +01:00
abitmore
16b34f66be Add harvey's seed node 2016-01-12 22:48:21 +01:00
theoreticalbts
b5480db341 api.cpp: Add break to every case in get_relevant_accounts #513 2016-01-08 14:35:07 -05:00
theoreticalbts
d6878852f0 confidential_object.hpp: Move confidential objects into own header #466 2016-01-08 13:06:14 -05:00
theoreticalbts
e9eb050c1e worker_object.hpp: Move worker objects into own header #466 2016-01-08 11:42:35 -05:00
theoreticalbts
07fb90a7ec market_object.hpp: Move market objects into own header #466 2016-01-08 11:36:32 -05:00
Michael Vandeberg
fd09669be3 Merge branch '500-crypto-api' into develop
Closes cryptonomex/graphene#500
2016-01-07 17:24:13 -05:00
Michael Vandeberg
8df58439b1 Opens up cryptographic methods in their own API with serialized wrappers for public and private keys.
Tests for serialization of the wrappers added in serialization_tests.
2016-01-07 17:17:27 -05:00
theoreticalbts
3c7a4525d7 Merge branch '503-api-new-market-api' into develop 2016-01-07 14:23:24 -05:00
Michael Vandeberg
f7bfcea355 Implement new market API #503 2016-01-07 14:12:03 -05:00
theoreticalbts
f1b19b1562 Merge branch '496-cleanup-license-header' into develop 2016-01-07 13:38:52 -05:00
Michael Vandeberg
acfbad2cd4 Adds a cryptography API. 2016-01-07 12:57:29 -05:00
Fabian Schuh
5111084730 [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
theoreticalbts
3680b67271 Merge branch '481-history-failed-proposal-ops' into develop 2016-01-07 11:30:50 -05:00
root
33728e3e6a Update bitcube's seed node address 2016-01-05 16:18:17 +08:00
theoreticalbts
3af94b7878 application.cpp: Handle exception in open() by re-indexing #492 2016-01-04 10:38:59 -05:00
Daniel Larimer
16b59e0b42 adding seed node 2016-01-03 22:10:56 -05:00
theoreticalbts
eaba77b2d6 Merge branch 'graphene/483-history-fix-op-numbers' into release-2015-12-16 2015-12-16 11:46:38 -05:00
theoreticalbts
7cae3501f8 Fix operation history numbering #483 2015-12-16 11:43:45 -05:00
theoreticalbts
020dc2e789 Merge branch 'graphene/develop' into prerel-2015-12-07 2015-12-07 17:45:45 -05:00
emfrias
ec876f3def update blocktrades seed node DNS address 2015-12-04 15:24:46 -05:00
Daniel Larimer
0b4675354a Merge pull request #462 from wackou/api-339
Api calls for #339: needed api calls (mostly network) for supporting bts_tools
2015-11-25 09:57:38 -05:00
Nicolas Wack
c3dd6c3e48 Add network api calls: get_advanced_node_parameters, set_advanced_node_parameters, get_potential_peers 2015-11-21 23:04:43 +01:00
Nicolas Wack
de7b427472 Network api returns fc::variant_object instead of fc::variant 2015-11-21 23:00:03 +01:00
theoreticalbts
b03ac00b6c database_api.cpp: Recursively evaluate proposal fees #434 2015-11-05 16:02:39 -05:00
theoreticalbts
545fbfe63c Merge branch 'newmaster' into newbitshares
Conflicts:
	libraries/chain/asset_evaluator.cpp
	libraries/chain/include/graphene/chain/hardfork.hpp
	libraries/chain/market_evaluator.cpp
2015-11-02 10:06:13 -05:00
Daniel Larimer
5d6091e581 HARDFORK - adding operation to claim asset fees #413 2015-10-30 18:07:19 -04:00
Daniel Larimer
3273d1f7b6 fetching up to 200 items 2015-10-26 09:52:40 -04:00
Daniel Larimer
a4d4ab0108 Merge branch 'master' into bitshares 2015-10-26 09:45:35 -04:00
Daniel Larimer
867e87196b update fill order history 2015-10-26 09:44:49 -04:00
Daniel Larimer
6336a2bc1a fix conflicts 2015-10-23 18:14:35 -04:00
Daniel Larimer
7378fb80bc adding API call for market fill history 2015-10-23 18:13:33 -04:00
Daniel Larimer
eb105f1065 Merge branch 'master' into bitshares 2015-10-22 10:28:19 -04:00
Daniel Larimer
9b0abe2790 adding api to get recent transactions by id 2015-10-22 10:27:49 -04:00
Daniel Larimer
3bc8832dde Merge branch 'master' into bitshares 2015-10-21 08:54:53 -04:00
Daniel Larimer
af589b2287 cleanly handle db upgrade 2015-10-19 16:48:14 -04:00
Daniel Larimer
15e4464300 Merge branch 'master' into bitshares 2015-10-14 14:50:38 -04:00
theoreticalbts
fc95e83732 Merge remote-tracking branch 'graphene/master' into master 2015-10-14 14:41:59 -04:00
Daniel Larimer
29cc90ba99 Fix build 2015-10-13 13:32:58 -04:00
Daniel Larimer
5dbe57c3ff Fix build 2015-10-13 10:34:48 -04:00
theoreticalbts
e410df78c0 Initialize hash when using egenesis 2015-10-13 10:31:49 -04:00
theoreticalbts
3706c88a0b Initialize hash when using egenesis 2015-10-13 10:30:51 -04:00
Nicolas Wack
7cb4140b97 Added network get_info api call 2015-10-12 19:24:04 -04:00
Nicolas Wack
0892491096 Added network get_info api call 2015-10-12 17:02:47 -04:00
Daniel Larimer
283de52f38 don't connect to all seeds 2015-10-12 15:16:29 -04:00
Daniel Larimer
63bd27e7d2 adding initial seed nodes 2015-10-12 15:15:46 -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
9ccbc55ba6 Implement chain_id #374 2015-10-12 13:32:47 -04:00
Daniel Larimer
a61c23fa6a reduce trx spam messages 2015-10-12 12:06:26 -04:00
Daniel Larimer
f7c91be622 fix market history 2015-10-09 16:31:40 -04:00
Daniel Larimer
efd5e96192 clean up shutdown 2015-10-09 15:05:14 -04:00
theoreticalbts
17aac27bec application.cpp: Implement --force-validate command line option 2015-10-08 15:26:13 -04:00
Daniel Larimer
8e96d9c89c clean up print statements, minimize undo/fork history 2015-10-07 10:15:32 -04:00
Daniel Larimer
650af1778d Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-29 10:49:14 -04:00
Daniel Larimer
edcd46dd14 fix reindex with failed proposed transaction 2015-09-29 10:49:12 -04:00
theoreticalbts
9d3bcbb569 Provide objects to trace budget computations 2015-09-28 15:46:37 -04:00
theoreticalbts
2cf80cd04a Remove vestigial meta objects #246 2015-09-28 12:15:17 -04:00
Daniel Larimer
738abf03af adding API call to get potential address sigs: Fix #337 2015-09-23 18:22:38 -04:00
Eric Frias
5bfbe0df86 When a we're in normal (in-sync) mode and we get a block that doesn't link to the chain, restart sync with that peer to try to get the missing block 2015-09-21 16:15:51 -04:00
theoreticalbts
44f5bac305 api: Fix get_config API call #333 2015-09-21 11:01:10 -04:00
theoreticalbts
f7980f5252 scheduler: Refactor 26007bb655 to use witness_schedule_object
The functionality is equivalent, but it now uses a separate witness_schedule_object,
and the code now lives in db_witness_schedule.cpp.
2015-09-18 14:26:54 -04:00
Daniel Larimer
26007bb655 update shuffling algorithm 2015-09-18 13:42:12 -04:00
Daniel Larimer
465280fbcb Improved Logging, track blocks missed by witnesses 2015-09-18 09:13:17 -04:00
theoreticalbts
f0502ee2f1 Implement virtual op for settlement cancel #250 2015-09-17 15:46:15 -04:00
theoreticalbts
e008cbb70b database_api.cpp: Include smart_ref_impl, fix #321 2015-09-17 13:45:12 -04:00
Eric Frias
1177cfe0ed Reverse direction of fork history used in block syncing 2015-09-15 09:19:39 -04:00
Daniel Larimer
f506c2b089 better debugging messages around crashes 2015-09-15 08:38:27 -04:00
Daniel Larimer
640d69aa05 Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-14 18:07:09 -04:00
Daniel Larimer
225acfff25 fetch workers by vote_id 2015-09-14 18:07:07 -04:00
Eric Frias
f0f12076fa Win32 compile fixes 2015-09-14 16:05:32 -04:00
Eric Frias
30ae8e4f34 Remove debugging code 2015-09-11 19:27:31 -04:00
Daniel Larimer
1202c0258d Merge branch 'p2p_sync_fixes' 2015-09-11 17:57:11 -04:00
Daniel Larimer
127ac7f3de add api to query worker state 2015-09-11 17:47:27 -04:00
Daniel Larimer
cf7a67ec76 Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-11 17:35:07 -04:00
Eric Frias
76a36a67ac Fix race condition that happens when we're pushing sync blocks faster than get_synopsis calls are getting through to the main thread 2015-09-11 17:33:20 -04:00
Eric Frias
e9e3b0d679 Fix an instance where we were reporting that the peer was on an unreachable blockchain when they really weren't 2015-09-11 16:15:05 -04:00
Eric Frias
0046cc0698 Fix error messages generated when peer is syncing with empty blockchain 2015-09-11 15:26:55 -04:00
theoreticalbts
a083f7b955 api: Split database_api off into own file, reorder methods by topic 2015-09-11 12:37:36 -04:00
Eric Frias
8e9bd890a8 Fix bugs, improve logging in p2p sync 2015-09-10 19:33:11 -04:00
Eric Frias
928b6934e0 Merge branch 'master' into p2p_sync_fixes
Conflicts:
	libraries/chain/include/graphene/chain/database.hpp
2015-09-10 17:34:20 -04:00
Daniel Larimer
70746b82ad Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-10 16:23:02 -04:00
theoreticalbts
358a88037c wallet.cpp: Subscribe to block updates, fix #302 2015-09-10 15:56:08 -04:00
Daniel Larimer
85fd62ae29 Merge branch 'master' of github.com:cryptonomex/graphene 2015-09-10 09:48:13 -04:00
Daniel Larimer
af79de03c4 remove spam 2015-09-10 09:47:26 -04:00
Eric Frias
b6bba74301 Restore much of the syncing code from BitShares 0.x, and add optimizations that prevent us from attempting to sync with peers those blockchain diverged from ours many blocks ago, which also reduces the size of sync messages. Add logging. 2015-09-10 08:56:29 -04:00
theoreticalbts
b8b2bcf97e Implement --dbg-init-key command line option to take control of init witnesses for debugging #307 2015-09-09 17:54:30 -04:00
Daniel Larimer
a748883fed adding API callback for observing pending transactions 2015-09-07 18:05:43 -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
Daniel Larimer
a32075897f adding verify_account_authority api 2015-09-07 10:19:51 -04:00
Daniel Larimer
a84e56c2aa fix market subscriptions 2015-09-03 17:43:26 -04:00
Daniel Larimer
a5071f2568 rollback on save 2015-09-03 17:42:52 -04:00
theoreticalbts
025130b096 application.cpp: Fix --api-access option name 2015-09-02 14:57:02 -04:00
theoreticalbts
d2092e0d3a cli_wallet: Expose network_node API 2015-09-02 14:56:48 -04:00
theoreticalbts
efac97e060 cli_wallet: Implement withdrawal for vesting balance objects #286 2015-09-01 16:21:35 -04:00