Roman Olearski
d63a89febf
get_matched_bets_for_bettor: added to the wallet, fixed missing reflection
2017-09-04 08:44:29 +02:00
Eric Frias
eedd775405
Add get_matched_bets_for_bettor() to bookie plugin
2017-09-02 19:05:07 -04:00
Eric Frias
85e819185f
Allow bookie API to return deleted betting_market, betting_market_group, and event objects
2017-08-10 15:49:53 -04:00
Eric Frias
d13783a3c4
Fix bug that prevented placing bets that were too small to stay on the books,
...
Add a get_objects() call to the bookie API to provide access to objects that
have been removed from the blockchain, and a few tests to verify that they
work.
2017-08-09 17:17:51 -04:00
Eric Frias
a8d5fded26
Remove the code for charging beting fees up-front now that rake fees are taken from your net winnings.
...
Change the bet matching algorithm to only match at exactly the maker's odds, no rounding.
Implement binned order books in the betting market plugin. Keep betting market groups,
betting markets, and bet objects around forever in the plugin (not yet exposed to the api).
2017-08-09 11:15:12 -04:00
Eric Frias
93088a204d
Change the rounding used when matching bets to never round, bets are always matched at
...
exactly the maker's odds.
2017-08-01 15:42:52 -04:00
Roman Olearski
6ca6413d88
bookie_plugin: added localized_event_strings ....
2017-08-01 12:26:45 +02:00
Roman Olearski
b96459045b
added get_total_matched_bet_amount_for_betting_market_group to bookie_plugin
2017-07-28 18:23:57 +02:00
Eric Frias
c4470131ac
Enable building bookie plugin, add API for bookie plugin, and implement a
...
function for getting binned order books (as yet untested)
2017-07-27 19:36:31 -04:00
Eric Frias
034acf7399
Replace idiosyncratic use of captures in ilog() statements with the usual mechanism
2017-07-19 14:40:43 -04:00
Roman Olearski
d3482f3a08
Merge branch 'rock-paper-scissors' of https://bitbucket.org/peerplaysblockchain/peerplays-graphene into betting-merge
2017-07-13 16:07:30 +02:00
Eric Frias
cd2940c8a8
Remove competitor and market options objects from the blockchain
2017-07-06 11:57:45 -04:00
Eric Frias
9c9af76e12
Merge commit 'd8e7c0afee573d82647018a9efd530a03274a2aa' into betting
2017-06-21 16:58:50 -04:00
Eric Frias
3238ea735f
Merge commit '568ceb189eca96e77e38c4059b83a504008d7e91' into betting
2017-06-21 16:43:00 -04:00
Eric Frias
636f28eac6
Merge commit 'aa6f3e9051787bfc1b4284f1684544cca9bfc9c9' into betting
2017-06-21 16:08:58 -04:00
Eric Frias
51fb13f8ba
Merge commit '9466d2096a370e15aff70842b48feeca4a941e5c' into betting
2017-06-21 14:54:05 -04:00
Eric Frias
c64d83910c
Merge commit '030577f6719a483314c6de7b7e42214399704adb' into betting
2017-06-21 14:15:57 -04:00
Eric Frias
fe82e85d8d
Merge commit '9bbbefd3913ccfe01b8e8ef2007ca3eb74ab9d81' into betting
2017-06-21 09:33:53 -04:00
Eric Frias
c20978bae6
Merge commit '1e80d8a01e6181711bba3d6462e64286d79935b1' into betting
2017-06-20 19:34:52 -04:00
Eric Frias
5a99abc3de
Merge commit '0053613b38e81719c198f36c748e181cc44635b2' into betting
2017-06-20 18:57:23 -04:00
Eric Frias
bd525ef55d
Merge commit 'c777a88649d50edf6c5e4a8c3b13dda88a66e9d0' into betting
2017-06-20 18:15:43 -04:00
Roman Olearski
eb4c8f75d1
Merge branch 'rock-paper-scissors-ro' into rock-paper-scissors
...
Conflicts:
programs/witness_node/main.cpp
2017-06-09 12:17:26 +02: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
abitmore
504aa5dccd
Account history: option to prune old data ( #292 )
2017-06-02 16:16:34 +00:00
Viktor
7759d2e658
Quiet unhelpful log message "Not producing block because slot has not yet arrived"
2017-06-02 12:01:00 +03:00
Viktor
9e8bc0b27c
Add 'generate_uia_sharedrop_genesis_plugin' used for generating the initial PPY
...
balances based on the BitShares PEERPLAYS UIA.
Modify the other generate_genesis plugin to be able to run disabled.
2017-06-02 11:56:01 +03:00
Viktor
687088a13b
Improve the generate_genesis plugin to:
...
- exclude more exchanges
- exclude scam accounts
- credit users for any vesting balances they could have
withdrawn at the time of the snapshot
- other minor cleanup
2017-06-02 11:50:29 +03:00
Eric Frias
03ec007cbb
Quiet unhelpful log message "Not producing block because slot has not yet arrived"
2017-06-01 16:59:40 -04:00
Eric Frias
36bcada8fa
Add 'generate_uia_sharedrop_genesis_plugin' used for generating the initial PPY
...
balances based on the BitShares PEERPLAYS UIA.
Modify the other generate_genesis plugin to be able to run disabled.
2017-06-01 11:05:43 -04:00
Eric Frias
ceac07ed42
Improve the generate_genesis plugin to:
...
- exclude more exchanges
- exclude scam accounts
- credit users for any vesting balances they could have
withdrawn at the time of the snapshot
- other minor cleanup
2017-06-01 10:02:40 -04:00
Peter Conrad
53271599a7
Call use_next_id to keep object ids consistent
2017-05-27 09:42:50 +02:00
Peter Conrad
16824f438a
Added partial-operations flag to reduce operations log (1.11.x)
2017-05-25 12:31:09 +02: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
Roman Olearski
27b5c978db
completing scheduled (restored) witnesses, setting as default
2017-04-21 14:24:40 +02:00
Vikram Rajkumar
8a44c6a2e6
Merge pull request #259 from bitshares/258-account-history-filter-fix
...
Fix account_history filtering by account #258
2017-04-10 14:54:12 -05:00
Abit
a4a8b67eba
Fix account_history filtering by account #258
2017-04-09 00:57:41 +02:00
oxarbitrage
3d9ae3d86e
market_history plugin fix
...
fix get_trade_history and calls that use it(get_ticker, get_24_volume),
2017-04-07 18:57:31 -03:00
Eric Frias
672fad6d40
Start of a plugin to track deleted events (and other deleted objects) needed by the
...
bookie ui
2017-04-04 17:02:19 -04:00
elmato
030577f671
Fix handling of events from database_object in debug_witness_plugin
2017-03-22 20:14:53 +00:00
elmato
cff792a740
debug_witness: Handle new params in changed/remove signals from database
2017-03-22 20:14:53 +00:00
Vikram Rajkumar
8ae1f6b3a5
Remove NTP time
2017-03-16 12:53:52 -05:00
root
0703447bfd
Print public key on start
2017-02-20 06:18:46 -08:00
root
f50df89826
remove log of key in witness start
2017-02-20 04:52:07 -08:00
Eric Frias
4674fc53ab
Allow generate_genesis plugin to quietly do nothing when you don't specify the block number on the witness's command line.
2017-01-04 17:19:48 -05:00
Vikram Rajkumar
38e5d91355
Merge commit '7f75be5ced9bbe6c0671b3dadc46bcaecc3c1beb' into bitshares
2016-11-17 15:13:02 -06:00
Nathan Hourt
d7c51f26e3
Add more missing headers to install
2016-11-07 18:17:51 -06:00
Nathan Hourt
af6eb06a3e
Add missing includes
2016-11-07 18:17:51 -06:00
Roman Olearski
41f11bd63c
Merge branch 'rock-paper-scissors' into rock-paper-scissors-ro
2016-11-02 18:11:59 +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
Roman Olearski
5616fda018
Improving genesis block for PeerPlays
...
according http://syncad.storm.pl:56780/blocktrades/graphene/
parameterizing csv log file name
2016-10-10 11:06:48 +02:00
Roman Olearski
2e3cd4a75c
Improving genesis block for PeerPlays
...
according http://syncad.storm.pl:56780/blocktrades/graphene/
improving, refactoring code - resigning from unsafe static_cast, implementing constructor copiny from base class
2016-10-08 22:25:18 +02:00
Roman Olearski
227c89a453
Improving genesis block for PeerPlays
...
according http://syncad.storm.pl:56780/blocktrades/graphene/issu
part 2 adding csv log
added column name
added columns: initial balance, sahredrop
reseting sharedrops at the tail of the log
2016-10-07 21:05:42 +02:00
Roman Olearski
1a76276edc
Improving genesis block for PeerPlays
...
according http://syncad.storm.pl:56780/blocktrades/graphene/issues/1
part 2 adding csv log
added column name
added columns: initial balance, sahredrop
2016-10-07 16:09:10 +02:00
Roman Olearski
3d1bb9cce4
Improving genesis block for PeerPlays
...
according http://syncad.storm.pl:56780/blocktrades/graphene/issues/1
part 2 adding csv log
added column name
2016-10-07 12:51:06 +02:00
Roman Olearski
71a3cd49e1
Improve genesis block for PeerPlays
...
according http://syncad.storm.pl:56780/blocktrades/graphene/issues/1
part 1
2016-10-06 18:15:02 +02:00
Eric Frias
6f32a13079
Add another missing file
2016-10-03 16:17:21 -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
dd0ad9e759
more fixes to get tournament_create/join working in cli wallet
2016-09-12 18:28:45 -04:00
Eric Frias
84a43f9a3c
Add plugin for dumping a new genesis block based on balances at a given block. It calls
...
a function to dump state at the block, but we haven't decided exactly what it should dump
yet.
2016-09-06 14:38:53 -04:00
Eric Frias
66bf0545c5
Add api call for getting a list of upcoming tournaments
2016-09-04 17:52:43 -04:00
BhuzOr
7f75be5ced
Remove extra logging
2016-03-26 21:34:05 +01: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
a7c88be7c7
debug_api: Add API call to stream JSON objects to file
2016-03-15 13:36:29 -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
c89d60ba92
First implementation of get_account_history api changes.
2016-03-15 12:25:01 -04:00
Daniel Larimer
7f4b40f57d
Improve index on account operation history
...
- operations are now indexed by account and sequence for effecient
traversal and query
2016-03-15 12:24:58 -04:00
theoreticalbts
42140fccaa
Merge branch graphene/develop into bitshares at commit 'f1b19b15'
2016-02-16 11:04:31 -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
Daniel Larimer
16b59e0b42
adding seed node
2016-01-03 22:10:56 -05:00
theoreticalbts
d60c8a255e
Fix optional dereferences
2015-12-16 17:14:41 -05:00
theoreticalbts
7cae3501f8
Fix operation history numbering #483
2015-12-16 11:43:45 -05:00
theoreticalbts
fda84dfe8b
witness: Submit wakeup time for fc::schedule() on local system clock, not NTP
2015-10-30 10:21:27 -04:00
Daniel Larimer
867e87196b
update fill order history
2015-10-26 09:44:49 -04:00
Daniel Larimer
7378fb80bc
adding API call for market fill history
2015-10-23 18:13:33 -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
Daniel Larimer
f7c91be622
fix market history
2015-10-09 16:31:40 -04:00
Daniel Larimer
8e96d9c89c
clean up print statements, minimize undo/fork history
2015-10-07 10:15:32 -04:00
theoreticalbts
36625805fb
delayed_node_plugin.cpp: Use new last_irreversible_block property, change to polling architecture
2015-10-05 14:49:54 -04:00
theoreticalbts
5885c243fb
market_history_plugin.cpp: Fix compiler warning
2015-09-29 12:16:17 -04:00
Daniel Larimer
246459af3f
removing print statement
2015-09-28 12:18:58 -04:00
Eric Frias
d01fc0ac44
Allow delayed-node plugin options to be set on conmmand line (in
...
addition to in config file) like most other plugins
2015-09-24 12:04:44 -04:00
Daniel Larimer
0ba1154e6e
comment out logging spam
2015-09-22 16:50:45 -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
Daniel Larimer
f506c2b089
better debugging messages around crashes
2015-09-15 08:38:27 -04:00
Daniel Larimer
127ac7f3de
add api to query worker state
2015-09-11 17:47:27 -04:00
theoreticalbts
e1530709d9
witness.cpp: Set skip_undo_history_check when --enable-stale-production is specified
2015-09-10 15:41:43 -04:00
theoreticalbts
00a2d2dac7
Revert "Fix log issue in witness.cpp block_production_loop"
...
This reverts commit c9fbc8a411 .
Updated version of fc is published, so this fix is no longer necessary.
2015-09-01 16:33:18 -04:00
theoreticalbts
2dedebdca8
witness.cpp: Don't filter witnesses prematurely
...
If invalid witness ID's or keys are specified in the config file,
we simply don't produce until they become valid.
2015-09-01 16:21:37 -04:00
abitmore
c9fbc8a411
Fix log issue in witness.cpp block_production_loop
2015-09-01 13:05:02 +02:00
theoreticalbts
687aa7253e
witness.cpp: Add a little logging on startup
2015-08-31 17:26:03 -04:00
theoreticalbts
c14494fb68
time: Make timer use fc::time_point instead of fc::time_point_sec so witness plugin can control quantization
2015-08-31 17:26:03 -04:00
theoreticalbts
dd9dbca38c
Reserve witness ID 0
2015-08-31 17:26:03 -04:00
theoreticalbts
b236d46027
witness.cpp: Simplify block production loop
2015-08-31 17:26:03 -04:00
theoreticalbts
9b4e270bc4
witness_node: Implement --genesis-timestamp command line parameter
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
theoreticalbts
4a350a5c0c
Initialize recently_missed_count to 0 if slots were missed at genesis
2015-08-26 19:06:54 -04:00
Daniel Larimer
12cd23df57
Merge branch 'witness_schedule_refactor' of github.com:cryptonomex/graphene into witness_schedule_refactor
2015-08-26 18:36:36 -04:00
Daniel Larimer
e5106c15a3
update subscribe callback
2015-08-26 18:01:48 -04:00
theoreticalbts
dcc4f8076b
database.hpp: Simplify get_scheduled_witness() return value
2015-08-26 15:36:26 -04:00
theoreticalbts
30296d9c36
database.hpp: Simplify get_scheduled_witness() return value
2015-08-25 17:59:15 -04:00
Daniel Larimer
437a112a66
Fix #244 - Improve log messages
...
- it is not an error to have the next slot be in the future, it happens
every maitenance interval when the skip slots is greater than 0.
- re-order the failure conditions to report configuration issues first,
then other issues second.
2015-08-18 11:06:40 -04:00
Vikram Rajkumar
9c2af06cc6
Fix Linux build
2015-08-17 17:09:19 -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
baf6bfc17b
Progress #237 : Begin work on delayed_node_plugin
2015-08-17 16:38:55 -04:00
theoreticalbts
c7444f8d4d
Implement minimal "make install" command #219
2015-08-06 12:40:53 -04:00
theoreticalbts
9dfb0d9650
Refactor impacted_accounts into app #183
2015-07-30 12:38:59 -04:00
Daniel Larimer
f371f98cd4
Fix #203 - market history plugin config supports multiple buckets
2015-07-27 08:19:27 -04:00
Daniel Larimer
dffc83cca9
Refactor full account subscriptions
...
When subscribing to an account via the get_full_account API it will
start streaming any object relevant to the account that is added,
removed, or modified.
2015-07-21 15:19:52 -04:00
Vikram Rajkumar
d0b8c66aad
Fix Linux Clang build with missing includes; resolve #174
2015-07-20 14:57:08 -04:00
Vikram Rajkumar
04392d3598
Fix witness production with 1 second block intervals
2015-07-14 15:23:55 -04:00
theoreticalbts
c019f18bd4
Implement recent_slots_filled and use it to measure witness participation
2015-07-13 17:02:00 -04:00
Vikram Rajkumar
6043586d15
Rename bad references to delegate -> witness; #147
2015-07-13 16:08:17 -04:00
Daniel Larimer
a05d88b044
Fix #151 - Witnesses do not produce consecutively
...
- added an option (on by default) to prevent a witness from signing two
blocks in a row because this most likely indicates they have been cut
off from the network.
- added an option where a witness will not produce a block if the
witness participation rate is below a configurable threshold (default
to 33%)
2015-07-13 09:47:03 -04:00
Nathan Hourt
0f6e5a74cd
Progress #148 : early implementation of solution 2
...
Needs testing in all the different scenarios, but we no longer fail to
start when resyncing.
2015-07-10 14:17:16 -04:00
Daniel Larimer
fdcf821c41
Progress on #144 - refactoring fee schedule
2015-07-08 18:45:53 -04:00
Daniel Larimer
b1dd41ff3a
Refactor get_required_auths on operations
2015-07-07 10:57:01 -04:00
Nathan Hourt
6ab59f63a7
Resolve #133 : allow creation of example genesis json
2015-07-06 14:00:39 -04:00
Daniel Larimer
871aa734ae
Update documentation and fix error messages, Fix #127
2015-07-02 12:11:43 -04:00
Daniel Larimer
fefa0f65f8
Issue #106 - Removing KeyObject
...
- this is a major refactor of the code and may have broken some behavior
in the wallet or witness nodes.
- this commit changes the serialization of operations
- the chain_tests pass
2015-07-02 01:52:45 -04:00
Daniel Larimer
bb71e1933b
Implement #103 - Override Transfers by Issuer
2015-07-01 16:21:18 -04:00
Daniel Larimer
2257e5da6c
#108 Rename Burn to Reserve
2015-07-01 14:43:17 -04:00
Eric Frias
9856d5e8fd
Fix CLI commands for creating witnesses, add commands for listing
...
witnesses, registering witness url.
Derive memo, witness, etc. keys from the active key.
Make witness_create_operation accept relative key identifiers.
Prevent wif_to_key from throwing on invalid base58 input.
Make witness_node accept witness keys in WIF format.
2015-06-30 17:54:19 -04:00
Daniel Larimer
ede41d6f99
fix warning, add debug for svk
2015-06-30 17:34:46 -04:00
Daniel Larimer
d3391c0fe5
#98 Implement Balance Object and Evaluator
2015-06-27 11:49:41 -04:00
Daniel Larimer
16e90c53ac
#47 Fixing bucket_object serialization
2015-06-25 15:06:10 -04:00
Daniel Larimer
88aeaa5e69
#47 Fix bug with not initializing base volume
2015-06-25 09:47:56 -04:00
Daniel Larimer
a518c37c9e
adding wallet api to return the market history
2015-06-25 09:38:31 -04:00
Daniel Larimer
a0765e2cf2
Removing unnecessary indexing from account history plugin, it can now focus on just tracking operation history
2015-06-24 16:38:56 -04:00
Daniel Larimer
045cfbd914
#47 Fix crash when parsing config file
2015-06-24 14:44:50 -04:00
Daniel Larimer
aaf31d840f
#47 Fix crash, added history lenght limits, added init testing
2015-06-24 14:01:37 -04:00
Daniel Larimer
af812a7b51
#47 Adding API to get the available history buckets based upon the configuration
2015-06-24 12:46:03 -04:00
theoreticalbts
ed381af304
Spell out boost::program_options in headers instead of using alias
...
Multiple defs of bpo alias confused gcc and broke cli_wallet build.
2015-06-23 22:35:00 -04:00
Daniel Larimer
20a10a074b
Issue #47 market history added to api
2015-06-23 18:23:41 -04:00
Daniel Larimer
fdefc69baf
Issue #47 - Basic, Untested, Market History Plugin
2015-06-23 17:53:10 -04:00
theoreticalbts
da77990b72
Implement field_reflector and assert_op
2015-06-22 13:26:08 -04:00
Nathan Hourt
6fc11bb5fd
Resolve #59 : Add witnesses to default genesis in witness_node
2015-06-19 10:23:36 -04:00
Daniel Larimer
a14500a364
merge from master, clean up test output
2015-06-18 15:40:38 -04:00
Daniel Larimer
0a5954db70
merge master
2015-06-18 15:31:30 -04:00
Nathan Hourt
568a18571b
Merge branch 'issue52'
2015-06-18 15:26:00 -04:00
Daniel Larimer
ef4ed937cb
Fix update_call_order
...
- redefine price feeds
- clean up unit test spam
2015-06-18 15:17:48 -04:00
Nathan Hourt
9291250214
Issue #52 : working my way out of the rabbit hole
...
Evils abound. And tests still fail.
2015-06-18 15:08:51 -04:00
theoreticalbts
53e144ae6b
witness.cpp: Explicitly specify skip_flags
2015-06-18 12:45:43 -04:00
Nathan Hourt
377432453f
Lay to rest #16
...
It's finally done.
2015-06-16 14:42:05 -04:00
Daniel Larimer
4cee2ca608
Update plugins and wallet to remove shorts
2015-06-16 11:22:28 -04:00
Vikram Rajkumar
6337f94555
Remove bond operations
2015-06-15 15:37:38 -04:00
Vikram Rajkumar
17693e6299
Remove file write operation
2015-06-15 15:36:47 -04:00
Nathan Hourt
7f0d1ebbed
Progress #31 , resolve #21
...
Declare, but not yet implement, account_upgrade_operation which can
upgrade accounts to members.
Resolve #21 by removing all the sketchy pointer arithmetic stuff
2015-06-10 14:17:17 -04:00
Nathan Hourt
7d96e0c124
Remove annoying log line
2015-06-10 14:17:17 -04:00
Nathan Hourt
0a945b0257
Initial commit
2015-06-08 12:36:37 -04:00