Eric Frias
bc212b7d59
Fixes to paying out non-core assets using their fee pools
2016-08-25 10:41:01 -04: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
theoreticalbts
55ec0607f8
Rebased "ext.hpp: Fix extension unpacking #599 " to fix revert #637
2016-03-25 20:15:17 -04:00
theoreticalbts
e955b06c42
Fix accidental reversion of #615 fix by b175cc7feb
2016-03-16 15:50:13 -04:00
theoreticalbts
755f9ecf38
Prepare for release
...
- Bump GRAPHENE_CURRENT_DB_VERSION to force re-index
- Set hardfork date
2016-03-16 01:10:14 -04: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
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
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
abitmore
f1cd2c2454
Add hard fork logic for #615 feed expiration check issue, fix #540
2016-03-10 09:17:05 +08:00
abitmore
3c6f4ce223
Fix price feed expiration check, fix #540
2016-03-09 14:37:33 +01:00
theoreticalbts
a83af9208e
ext.hpp: Fix extension unpacking #599
2016-02-26 14:38:34 -05:00
Eric Frias
14295772f0
Merge branch 'bitshares-2-bitshares'
...
# Conflicts:
# libraries/fc
2016-02-26 11:29:25 -05:00
theoreticalbts
52c0b31bcf
Merge remote-tracking branch 'graphene/develop' into bitshares at commit e3478d2338
2016-02-23 12:10:40 -05:00
theoreticalbts
e3478d2338
Default initialize output in extension<T>'s from_variant and stream extraction #594
2016-02-23 12:00:40 -05:00
theoreticalbts
76de1f8f0b
Merge branch '593-bugfix-ext-json-serializer' into develop at commit 53699a9d27
2016-02-23 10:51:11 -05:00
Eric Frias
567a40170e
Fix gcc/clang builds broken by d3c6cbf4de (breaking circular dependency)
2016-02-22 19:34:16 -05:00
theoreticalbts
53699a9d27
ext.hpp: Accept null and empty array for extensions #593
2016-02-22 12:00:51 -05:00
Eric Frias
d3c6cbf4de
Compile fixes for win32 and out-of-source builds
2016-02-17 09:17:00 -05:00
theoreticalbts
fac1284f77
Prepare for release
...
- Bump FC
- Bump GRAPHENE_CURRENT_DB_VERSION to force re-index
- Set hardfork date
- Set GRAPHENE_FBA_STEALTH_DESIGNATED_ASSET
2016-02-16 11:57:45 -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
a1d0339ccf
Merge remote-tracking branch 'graphene/549-fork-cancel-order' into bitshares
2016-02-16 11:29:32 -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
42140fccaa
Merge branch graphene/develop into bitshares at commit 'f1b19b15'
2016-02-16 11:04:31 -05:00
theoreticalbts
1153d77dba
Update documentation of updating active key to match implementation #556
2016-02-15 22:48:47 -05:00
theoreticalbts
4a6de2fba7
Merge branches '492-bugfix-close-logic', '550-cleanup-remove-evaluation-observer' and '581-cleanup-object-operators' into develop
2016-02-15 16:01:27 -05:00
Daniel Larimer
c63b624caf
fix build errors and warnings
...
This commit was rebased by theoreticalbts and assigned issue #581
Conflict with 146c0c4d8e was resolved, minor improvements.
2016-02-15 16:01:13 -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
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
36a8c3d6f1
Unit test for STEALTH fee routing #563
2016-02-15 15:33:21 -05:00
theoreticalbts
5dd56bd824
Implement FBA fee routing for STEALTH #563
2016-02-15 15:33:21 -05:00
abitmore
3fa79740df
Reflect ID of force_settlement_object, fix #575
2016-02-15 15:13:25 -05:00
theoreticalbts
b1f8c8f291
buyback_object.hpp: Don't FC_REFLECT buyback_object, FC_REFLECT_DERIVED it instead #538 #575
2016-02-14 17:26:35 -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
bd22592d19
Merge branches '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check' into 538-fork-buyback
2016-02-11 04:56:47 -05:00
theoreticalbts
130b54116c
Inline fast path of is_authorized_asset() #566
2016-02-11 04:02:29 -05:00
theoreticalbts
68a0ffa1aa
Make is_authorized_asset a free-floating method #566
...
The following sed commands were used to port existing call sites to the new interface:
sed -i -e 's/\([a-zA-Z0-9_]\+\)->is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, *\1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, \1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[(]db[)][.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\)[(]db[)], db[)]/is_authorized_asset( db, \1(db), \2(db) )/' tests/tests/uia_tests.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\), db[)]/is_authorized_asset( db, \1, \2 )/' tests/tests/uia_tests.cpp
No new functionality is added by this commit, it is simply re-organizing the existing code in a different place.
2016-02-11 01:57:22 -05:00
theoreticalbts
d0f119b215
Merge branch '489-bugfix-reflect-whitelist' into develop
...
Conflicts:
libraries/chain/include/graphene/chain/account_object.hpp
2016-02-09 10:58:59 -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
39d0946b50
Remove evaluation_observer #550
2016-02-09 04:44:11 -05:00
theoreticalbts
3a968332e8
Remove active_witnesses from global_property_object #562
2016-02-09 04:09:26 -05:00
theoreticalbts
19cf1b135b
Fix withdraw_permission_object.hpp reflection #562
2016-02-09 04:01:06 -05:00
abitmore
a5620c3064
Expose whitelisted_accounts, fix #489
2016-02-08 16:14:25 -05:00
theoreticalbts
ad339d2729
Defer something-for-nothing culling for taker orders until the order is unmatched #555
2016-02-08 10:05:43 -05:00
theoreticalbts
b67d223d17
Merge branch '549-fork-cancel-order' into 452-fork-stealth-fba
2016-02-05 12:17:46 -05:00
theoreticalbts
59503acde9
Cap auto-cancel fees at deferred_fee #549
2016-02-02 14:17:57 -05:00
Daniel Larimer
45e717c181
HARDFORK: fix for hung cancel order
2016-02-02 11:04:22 -05:00
Daniel Larimer
405f81eaf8
HARDFORK: fix for hung cancel order
2016-01-28 20:02:37 -05:00
theoreticalbts
a1e8fc0741
Implement top_n special authority #516
2016-01-27 10:30:32 -05:00
theoreticalbts
a1ee326b55
Improve vote counting implementation #533
2016-01-25 11:33:04 -05:00
theoreticalbts
d8cd48d6ad
Implement by_asset_balance index #529
2016-01-21 11:13:42 -05:00
theoreticalbts
aa6d13b057
Remove by_account index from account_object #529
2016-01-21 10:39:13 -05:00
theoreticalbts
600a06f57e
db_balance.cpp: Rename by_balance -> by_account_asset #529
2016-01-21 10:23:07 -05:00
theoreticalbts
3edaf15652
Generate hardfork.hpp from hardfork.d directory #511
2016-01-11 10:09:03 -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
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
3680b67271
Merge branch '481-history-failed-proposal-ops' into develop
2016-01-07 11:30:50 -05:00
theoreticalbts
84fab61589
Merge branch '480-fork-mia-core-exchange' into develop
2016-01-07 11:30:04 -05:00
Daniel Larimer
dd5b7708b4
potential fix for hung chain
2016-01-07 11:27:50 -05:00
Daniel Larimer
dca5c95ab5
potential fix for hung chain
2016-01-03 20:40:21 -05:00
theoreticalbts
dcc0b556ba
config.hpp: Bump DB version
2015-12-16 17:55:01 -05:00
theoreticalbts
802ca9e613
config.hpp: Bump DB version
2015-12-16 11:52:03 -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
0f67fb655b
config.hpp: Bump DB version
2015-12-15 14:43:38 -05:00
theoreticalbts
4d5515702c
Merge branch 'graphene/480-fork-mia-core-exchange' into bitshares
2015-12-15 14:42:02 -05:00
theoreticalbts
f42bbcd087
Fix non-BTS MIA core_exchange_rate check #480
2015-12-15 14:20:00 -05:00
theoreticalbts
f699240e0a
config.hpp: Bump db version
2015-12-07 17:53:03 -05:00
theoreticalbts
5fa123b6d7
config.hpp: Bump db version
2015-12-07 17:52:49 -05:00
theoreticalbts
020dc2e789
Merge branch 'graphene/develop' into prerel-2015-12-07
2015-12-07 17:45:45 -05:00
theoreticalbts
2b9876fd98
hardfork.hpp: Set hardfork timestamps
2015-12-07 15:36:52 -05:00
theoreticalbts
0735a8722e
Merge branch '453-fork-referral-percent' into develop
2015-12-07 15:15:26 -05:00
theoreticalbts
d853aecd3f
Merge branch '445-fork-order-create-fee-refund' into develop
2015-12-07 15:14:03 -05:00
theoreticalbts
b80587e5b5
Prevent margin call from being triggered unless feed < call #436
2015-12-07 14:59:07 -05:00
theoreticalbts
32f12b9215
Refund order creation fee when order is cancelled #445
2015-12-03 15:48:52 -05:00
theoreticalbts
084e38753b
Hardfork to retroactively correct referral percentages #453
2015-11-19 16:35:33 -05:00
Eric Frias
ed1121d3f6
Hack to allow address parsing code to handle both MUSE prefix and BTS
...
prefix
2015-11-09 16:38:19 -05:00
theoreticalbts
2d6dfd04e4
config.hpp: Bump db version to force replay
2015-11-02 10:11:42 -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
theoreticalbts
65003ba06c
Merge branch 'fork-413' into develop
...
Conflicts:
libraries/chain/include/graphene/chain/hardfork.hpp
2015-10-31 17:13:15 -04:00
theoreticalbts
3dc58e435f
Merge branches 'fork-409' and 'fork-419' into develop
2015-10-31 17:12:16 -04:00
theoreticalbts
4fa7443922
Merge branches 'history-324', 'bugfix-390', 'wallet-398', 'opt-410', 'script-411', 'bugfix-412', 'bugfix-414', 'bugfix-423' and 'feature-427' into develop
2015-10-31 17:11:41 -04:00
theoreticalbts
55fef1b161
db_update.cpp: Don't clear expired feeds for non-market-issued assets #410
2015-10-31 16:14:25 -04:00
theoreticalbts
a126520fa3
HARDFORK Allow creation of sub-assets #409
2015-10-31 15:46:53 -04:00
theoreticalbts
dfe228fc85
global_property_object.hpp: Reflect last_budget_time #414
2015-10-31 14:37:56 -04:00
theoreticalbts
966b3edf0c
Add hardfork logic #413
2015-10-30 18:07:19 -04:00
Daniel Larimer
5d6091e581
HARDFORK - adding operation to claim asset fees #413
2015-10-30 18:07:19 -04:00
theoreticalbts
4f2b8bd6f6
HARDFORK Move fee blacklist check to evaluator #419
2015-10-30 14:35:50 -04:00
theoreticalbts
d821d4a993
Get rid of enforce_white_list() #416
2015-10-30 14:35:50 -04:00
theoreticalbts
db045f453c
Implement hardfork logic for #415
2015-10-30 13:12:37 -04:00
theoreticalbts
57015b43fa
Add missing FC_REFLECT_TYPENAME #414
2015-10-30 10:47:35 -04:00
Daniel Larimer
32d6b22b7b
Merge branch 'master' into bitshares
...
Added a hardfork that is scheduled to happen years in the future after
this change has been reviewed and approved.
2015-10-23 13:30:42 -04:00
Daniel Larimer
a1640abf81
Merge branch 'master' into bitshares
2015-10-22 10:51:00 -04:00
Daniel Larimer
44b2198f97
normalize blinded_balance reflection
2015-10-22 10:50:51 -04:00
Daniel Larimer
ddd58e946a
Fix #385 - HARDFORK to expand valid names
2015-10-21 09:29:13 -04:00
Daniel Larimer
ab0d789d72
Fix bug where updated DB version causes crash on restart
2015-10-15 12:07:44 -04:00
Daniel Larimer
c528ea1ff3
update DB VERSION to force replay
2015-10-15 11:40:48 -04:00
Daniel Larimer
d083c5c9de
Merge branch 'master' into bitshares
...
Accepted changes from master
2015-10-14 16:22:53 -04:00
Daniel Larimer
f85dec1c23
increasing the maximum undo history
2015-10-14 16:20:29 -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
theoreticalbts
6646957ce2
db_init.cpp: Make genesis BitAssets require 7 price feeds
2015-10-12 19:23:44 -04:00
theoreticalbts
9d19358a0c
db_init.cpp: Make genesis BitAssets require 7 price feeds
2015-10-12 17:01:16 -04:00
Daniel Larimer
91c8e709fe
change CORE to BTS
2015-10-12 14:04:56 -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
theoreticalbts
f0f96d5a8f
Allow witness-fed and committee-fed BitAsset feeds to be specified in flags.
...
This is only technically a hardfork, in order to actually desync the chain
the witness account / committee account would need to pass a proposal to do
something in their capacity as the owner of an asset_object. It should be
fairly safe to say that this will not occur on testnet until witnesses have
upgraded.
2015-10-09 13:23:55 -04:00
theoreticalbts
43a2660143
db_management.cpp: Allow us to skip rewind on close()
2015-10-08 15:26:13 -04:00
theoreticalbts
3f00bd81b9
HARDFORK Disallow publishing certain malformed price feeds, fix #357
2015-10-08 15:26:13 -04:00
theoreticalbts
9b910ee1a4
HARDFORK Allow digits in asset name; fix #359
2015-10-08 15:26:13 -04:00
Daniel Larimer
a536d39253
TESTNET RESET REQUIRED - convert all hashed indexs to ordered indexes
...
Fix #362 by replacing non-deterministic hashed indexes with ordered
indexes
Remove HARDFORK check for witness ordering because this #362 will
require a test net reset to effeciently implment.
Changed the order in wich process_fees iterates accounts to be "by_name"
rather than "by_id" so that we retain the ability to switch back to
hashed indexes in the future.
This change was overly pestimistic and assumes all indexes may be
traversed as part of consensus. We want to reserve the ability to
change some of the indices back to hashed indicies in the future after a
through audit reveals that they are never iterated over in order.
2015-10-08 14:06:20 -04:00
theoreticalbts
93a108487d
Implement last_irreversible_block_num
2015-10-02 17:19:23 -04:00
Daniel Larimer
26288549e6
Fix blackswan on force settle, Fix #346 and #347
...
- fix detection and handling of black swan events
- fix total core in orders calculation from genesis
2015-09-30 18:30:44 -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
Daniel Larimer
d3b283b60e
Merge branch 'master' of github.com:cryptonomex/graphene
2015-09-28 15:42:52 -04:00
Daniel Larimer
b65763fdb6
added extra code to track a reverse index on whitelist/blacklist
2015-09-28 15:42:38 -04:00
theoreticalbts
a415dd6604
Don't use annotated_object #246
2015-09-28 12:15:17 -04:00
theoreticalbts
2cf80cd04a
Remove vestigial meta objects #246
2015-09-28 12:15:17 -04:00
theoreticalbts
8d52e2dda8
database: Scrub db in open() to force reindex if DB is outdated
2015-09-28 12:15:17 -04:00
theoreticalbts
0d7baa2b52
database: Remove obsolete retry_on_failure parameter
2015-09-28 12:15:17 -04:00
theoreticalbts
f972cff9d7
Clean up uninitialized integers
2015-09-28 12:15:17 -04:00
theoreticalbts
35acfff060
database: Implement before_last_checkpoint() function
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
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
b9727e6e1c
Increase logging, improve error messages
2015-09-17 12:11:40 -04:00
theoreticalbts
e0414d390e
Fix pending_block and fork handling
...
The pending_block member of database was a premature optimization and had an
unfortunate tendency to get out of sync, especially when switching forks.
This commit removes it, and substantially improves the handling of transactions
when switching forks. Specifically, flooding or forking no longer causes nodes to
discard valid transactions.
2015-09-17 12:11:40 -04:00
theoreticalbts
e4a45de195
Remove maximum_expiration for good, fix #308 [HARDFORK]
2015-09-16 10:18:54 -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
b3052dfcc1
fix warnings
2015-09-11 08:53:50 -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
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
09c623b3f9
Remove maximum_expiration parameter #308
2015-09-09 16:50:35 -04:00
theoreticalbts
70d3f36fba
database: Handle gaps in block database when reindexing
2015-09-09 14:48:06 -04:00
theoreticalbts
ff2db08475
database: Undo and re-apply pending_transactions before/after pushing a block. Fixes #299
2015-09-09 11:11:58 -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
theoreticalbts
efac97e060
cli_wallet: Implement withdrawal for vesting balance objects #286
2015-09-01 16:21:35 -04:00
Daniel Larimer
fb8d17bb4b
max block re-ordering increase
2015-09-01 08:57:42 -04:00
theoreticalbts
dd9dbca38c
Reserve witness ID 0
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
12cd23df57
Merge branch 'witness_schedule_refactor' of github.com:cryptonomex/graphene into witness_schedule_refactor
2015-08-26 18:36:36 -04:00
theoreticalbts
013033001f
Don't infinitely recurse when block generation fails #261
2015-08-26 18:16:34 -04:00
theoreticalbts
59a3ca32b7
Remove secret hashes from witnesses
2015-08-26 17:43:00 -04:00
theoreticalbts
695978cfa1
Implement committee_member_update operation #258
2015-08-26 17:42:50 -04:00
theoreticalbts
7db477b9d7
Implement witness_update_operation #258
2015-08-26 17:33:19 -04:00
theoreticalbts
19d10e462c
Implement GRAPHENE_PROXY_TO_SELF_ACCOUNT #267
2015-08-26 17:09:49 -04:00
theoreticalbts
e1e73cfe55
genesis: Set aside some low ID's for future special accounts and assets #230
2015-08-26 16:10:34 -04:00
theoreticalbts
6c052294e1
Remove block randomness and rewrite witness scheduling
2015-08-26 15:36:27 -04:00
theoreticalbts
dcc4f8076b
database.hpp: Simplify get_scheduled_witness() return value
2015-08-26 15:36:26 -04:00
theoreticalbts
1d2dc6abda
cli_wallet: Implement propose_parameter_change to more easily make proposals
2015-08-25 18:02:52 -04:00
theoreticalbts
c2e5432a30
Remove block randomness and rewrite witness scheduling
2015-08-25 18:01:15 -04:00
theoreticalbts
30296d9c36
database.hpp: Simplify get_scheduled_witness() return value
2015-08-25 17:59:15 -04:00
Daniel Larimer
a79eff2761
progress toward witness schedule refactor
2015-08-25 13:45:20 -04:00
Daniel Larimer
0532661937
extra performance while reindexing
2015-08-24 18:50:09 -04:00
Daniel Larimer
2464b788ad
improve reindexing performance
2015-08-24 17:57:44 -04:00
Daniel Larimer
4228360409
adding extra indexing of accounts by address auths
2015-08-20 15:19:15 -04:00
Daniel Larimer
2f0065d593
genesis file specifies 101 min
2015-08-20 13:23:25 -04:00
Daniel Larimer
714261b02a
merging changes
2015-08-20 08:49:18 -04:00
Daniel Larimer
8a9120e517
increasing the default minimum number of witnesses to 101 for testing
2015-08-20 08:47:38 -04:00
Nathan Hourt
eeeab17477
Polish out-of-order-block handling, write test case
2015-08-19 13:07:13 -04:00
Daniel Larimer
15c99bd65b
Address #247 - out-of-order blocks in fork db
...
- with this change the fork database now caches blocks that do not link
and attempts to link the unlinked blocks after every new block is
successfully linked.
- with this change the fork database only tracks blocks as far back as
the undo history allows. This significantly reduces memory usage when
there is high witness participation.
2015-08-19 09:47:10 -04:00
Nathan Hourt
2244e467ed
Fix whitespace
2015-08-17 16:38:55 -04:00
theoreticalbts
2212cfe95b
config.hpp: Remove unused constants GRAPHENE_DEFAULT_NUM_WITNESSES, GRAPHENE_DEFAULT_NUM_COMMITTEE
2015-08-17 15:21:55 -04:00
theoreticalbts
4ecdea1ce2
Move min_witness_count and min_committee_member_count from config.hpp to chain_properties #235
2015-08-17 15:21:55 -04:00
theoreticalbts
a888c81ac4
worker_evaluator.hpp: Explicitly cast types in signed subtraction
2015-08-17 15:21:55 -04:00
theoreticalbts
29b7f343a6
Remove chain_id from global_property_object
2015-08-17 15:21:55 -04:00
theoreticalbts
3a7e65c888
chain_property_object: Implement chain_property_object as container for unchangeable properties set at genesis #238
2015-08-17 13:38:35 -04:00
Daniel Larimer
c0c36ca639
votable objects now keep track of their most recent vote count
2015-08-14 17:56:21 -04:00
Daniel Larimer
80602a1f7b
adding api to query vote objects by id
2015-08-13 09:22:05 -04:00
theoreticalbts
96fb8f60c2
fee_tests.cpp: Make sure validation actually enforces nonzero fees
2015-08-12 14:26:48 -04:00
theoreticalbts
dffd010e8a
Implement and expose get_config() to allow API access to compile constants #229
2015-08-11 15:22:12 -04:00
theoreticalbts
f6c99f96b7
genesis_state.hpp: Specify definite size for initial_active_witnesses
2015-08-11 15:22:12 -04:00
theoreticalbts
3eedabbac2
Compute scaled precision at compile time, use in tests (fixes failures by prev commit)
2015-08-11 15:04:48 -04:00
theoreticalbts
44c174ad4a
config.hpp: Remove CORE constant
2015-08-11 13:14:57 -04:00
Nathan Hourt
a4e5a03973
Resolve #161 : Fix account creation fee scaling
2015-08-10 16:39:09 -04:00
theoreticalbts
2d1e76aed0
Get rid of chain ID global, move chain_id_type to types.hpp
2015-08-06 12:56:40 -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
4e3a27156e
genesis_state.hpp: Fix missing include
2015-08-06 12:40:53 -04:00
theoreticalbts
9dfb0d9650
Refactor impacted_accounts into app #183
2015-07-30 12:38:59 -04:00