Commit graph

705 commits

Author SHA1 Message Date
Daniel Larimer
e5010aaa5a improve error messages 2015-10-15 10:26:53 -04:00
Daniel Larimer
f85dec1c23 increasing the maximum undo history 2015-10-14 16:20:29 -04:00
Daniel Larimer
ae4790bcb8 Merge branch 'master' of https://github.com/bitshares/bitshares-2 2015-10-14 16:19:21 -04:00
theoreticalbts
fc95e83732 Merge remote-tracking branch 'graphene/master' into master 2015-10-14 14:41:59 -04:00
Daniel Larimer
39fb95b66c remove/fix address prefix checking 2015-10-14 14:33:48 -04:00
Daniel Larimer
29cc90ba99 Fix build 2015-10-13 13:32:58 -04:00
theoreticalbts
3706c88a0b Initialize hash when using egenesis 2015-10-13 10:30:51 -04:00
Nicolas Wack
0892491096 Added network get_info api call 2015-10-12 17:02:47 -04:00
theoreticalbts
9d19358a0c db_init.cpp: Make genesis BitAssets require 7 price feeds 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
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
theoreticalbts
b6be698c34 fc: Fix #367 2015-10-12 10:10:23 -04:00
Eric Frias
9c650bddb0 Make conversions from boost's uint128_t to builtin int64_t explicit, without these
the compiler prefers to convert through operator bool yielding either 1 or 0.
2015-10-10 17:13:56 -04:00
theoreticalbts
837e4f254e wallet.cpp: More detailed logging of exception when broadcasting 2015-10-09 17:22:56 -04:00
Daniel Larimer
55dd3cc26a update fc 2015-10-09 17:09:30 -04:00
Daniel Larimer
31502d1959 Merge branch 'master' of github.com:cryptonomex/graphene 2015-10-09 16:31:44 -04:00
Daniel Larimer
f7c91be622 fix market history 2015-10-09 16:31:40 -04:00
theoreticalbts
434efcaa47 asset_evaluator.cpp: Fix compiler warning 2015-10-09 15:38:34 -04:00
theoreticalbts
a6d6b7316a wallet.cpp: Keep going when we fail to import a key 2015-10-09 15:38:34 -04:00
theoreticalbts
e731941cf0 wallet.cpp: Allow specifying wildcard in keys when running import_balance
Also, don't put private keys in error messages.
2015-10-09 15:38:12 -04:00
Daniel Larimer
b3e9874ece Merge branch 'master' of github.com:cryptonomex/graphene 2015-10-09 15:05:23 -04:00
Daniel Larimer
efd5e96192 clean up shutdown 2015-10-09 15:05:14 -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
Eric Frias
7fe0e64a5e Fix two places where objects were being used after they were deleted 2015-10-09 11:43:23 -04:00
Eric Frias
2a07fba3c2 Win32 compile fixes (#warning) 2015-10-09 11:43:22 -04:00
Daniel Larimer
e68e99ed3a Merge branch 'master' of github.com:cryptonomex/graphene 2015-10-08 16:57:45 -04:00
Daniel Larimer
514148d780 Fix #349 - Prevent potential overflow on rational math 2015-10-08 16:57:19 -04:00
theoreticalbts
97423812a1 db_init.cpp: Check for imbalanced assets 2015-10-08 16:16:51 -04:00
Daniel Larimer
edee4ffd48 fix for syncing 2015-10-08 15:58:13 -04:00
Daniel Larimer
e2b5b24f5d Merge branch 'master' of github.com:cryptonomex/graphene 2015-10-08 15:41:13 -04:00
Daniel Larimer
6bf35c52a4 adding debug 2015-10-08 15:41:10 -04:00
theoreticalbts
43a2660143 db_management.cpp: Allow us to skip rewind on close() 2015-10-08 15:26:13 -04:00
theoreticalbts
5b4398fb44 db_block.cpp: Respect skip_block_size_check when generating block 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
theoreticalbts
17aac27bec application.cpp: Implement --force-validate command line option 2015-10-08 15:26:13 -04:00
Eric Frias
5e6f5506ec Win32 compile fix (#warning) 2015-10-08 15:23:26 -04:00
Eric Frias
573a6d6e97 Win32 compile fix, add extra data to one call to FC_ASSERT for better debugging. 2015-10-08 15:17:01 -04:00
Eric Frias
7bc7004ef9 Remove items from p2p's list of items to fetch when we expect them to become unfetchable 2015-10-08 15:17:01 -04:00
Daniel Larimer
70fefe4f5f fix dreference of null 2015-10-08 15:11:32 -04:00
Daniel Larimer
eb1895ef55 fix derefrence of null, fix build, restore compat with oct5 test net 2015-10-08 15:03:35 -04:00
Daniel Larimer
be7c0076d0 fix dereferencing of deleted objects 2015-10-08 14:55:01 -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
Daniel Larimer
45f7819aba adding some hashing methods to db for debugging 2015-10-08 13:40:01 -04:00
theoreticalbts
bfef440968 fork_database.cpp: Fix overflow 2015-10-07 12:47:16 -04:00
Daniel Larimer
fe552a42d0 removing unnecessary assert 2015-10-07 11:09:28 -04:00
Daniel Larimer
8e96d9c89c clean up print statements, minimize undo/fork history 2015-10-07 10:15:32 -04:00
Daniel Larimer
cb6b548dd1 Merge branch 'master' of github.com:cryptonomex/graphene 2015-10-07 09:10:12 -04:00