Commit graph

132 commits

Author SHA1 Message Date
Daniel Larimer
ffd797c048 adding API call to return all accounts that reference a particular key id or account 2015-06-24 15:38:28 -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
Nathan Hourt
44313ac8a4 Address #79: Should be fixed, but I can't test because of #55 2015-06-24 09:58:33 -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
ed859277ef Merge branch 'master' of github.com:cryptonomex/graphene 2015-06-23 18:23:45 -04:00
Daniel Larimer
20a10a074b Issue #47 market history added to api 2015-06-23 18:23:41 -04:00
theoreticalbts
08651fc045 db_debug.cpp: Fix witness index type in debug_dump() 2015-06-23 18:05:47 -04:00
theoreticalbts
f99b02ba58 config.hpp: Implement GRAPHENE_COLLATERAL_RATIO_DENOM #70 2015-06-23 18:05:47 -04:00
Vikram Rajkumar
b63de0ad29 Fix some compiler warnings 2015-06-23 17:54:59 -04:00
Vikram Rajkumar
1e62c749af Minor evaluator cleanup 2015-06-23 17:54:59 -04:00
Vikram Rajkumar
e662180981 Update submodules 2015-06-23 17:54:59 -04:00
Daniel Larimer
03c362b9e4 Merge branch 'master' of github.com:cryptonomex/graphene 2015-06-23 17:53:33 -04:00
Daniel Larimer
fdefc69baf Issue #47 - Basic, Untested, Market History Plugin 2015-06-23 17:53:10 -04:00
Nathan Hourt
cfcafcb5c2 Progress #66: Set initial fees
There is now a default value for all fees
2015-06-23 17:09:55 -04:00
theoreticalbts
0d02361af0 Clean up names of assert ops and evaluation dispatch 2015-06-23 15:15:34 -04:00
theoreticalbts
c43c71372d assert_evaluator.cpp: Remove skip_unknown_predicate flag, add max_predicate_opcode check 2015-06-23 15:15:34 -04:00
theoreticalbts
548c760e46 wip burn worker 2015-06-23 15:13:01 -04:00
Nathan Hourt
08cba191c7 Progress #66: Audit calculate_fee implementations
I've audited all the calculate_fee impls and they all should be
reasonable at this point.

TODO: Set default fee values.
2015-06-23 14:19:39 -04:00
Daniel Larimer
a0d2b18959 Issue #70 - update docs 2015-06-23 14:05:07 -04:00
Daniel Larimer
8e9b2e8ebb Issue #68 - created simple secondary index for accounts 2015-06-23 13:33:13 -04:00
Daniel Larimer
b5b9d6d053 Issue #67 - add url to delegate/witness create operation 2015-06-23 11:08:12 -04:00
Daniel Larimer
da4bf0adc2 Issue #67 - add name/url to worker create operation 2015-06-23 10:33:11 -04:00
Daniel Larimer
06a9488f8b Issue #53 - flexible vesting balance creation
Use static variant to allow the types of vesting balances to be easily
extended and the creation operation allows for many different types of
initialization parameters.

Added a check that requires a minimum claim date which allows creating
of vesting balance objects with a cliff.
2015-06-23 10:14:40 -04:00
Daniel Larimer
8ac4bc1d58 Fix #39 Refactor assert_operation
Reasons:
  1. The protocol should not depend upon implementation details such as
  how the database objects are structured or reflected
  2. The protocol should deal in abstract concepts
  3. Should use fc::datastream rather than istringstream for performance
  and memory allocation reasons
  4. Fees should be charged proportional to the size of the operation
  5. Validate on the assert operation should also perform sanity checks
  on types
  6. Protocol definition objects should never depend upon the database
  because they may be used in situations where the database and
  evaluators are not present.
  7. Reflected field names should never have '_' in them because they
  become part of the *PUBLIC* json definition.
2015-06-23 09:14:18 -04:00
Eric Frias
1b96210212 Add CLI for registering delegates and witnesses, and setting voting proxy 2015-06-22 19:38:12 -04:00
Eric Frias
19d063145f Add CLI commands for voting witnesses/delegates 2015-06-22 19:38:12 -04:00
Daniel Larimer
d7f7d64352 notify observes of changed objects after every pushed transaction 2015-06-22 18:11:54 -04:00
Daniel Larimer
962310b415 adding API call to get proposed transactions for an account 2015-06-22 17:50:50 -04:00
Daniel Larimer
de99437be4 remove min_market_fee due to potential attack vector with many small partial matches 2015-06-22 17:29:40 -04:00
Daniel Larimer
a1601cbc0f fix bugs 2015-06-22 15:55:50 -04:00
Daniel Larimer
21bd520f9c Merge branch 'master' of github.com:cryptonomex/graphene 2015-06-22 15:08:24 -04:00
Daniel Larimer
758d588aa1 switch to rationals 2015-06-22 15:04:19 -04:00
Nathan Hourt
3eaec849eb Progress #61: Getting witnesses/delegates by owner
Support and API are now present for retrieving witnesses and delegates
by their owners.
2015-06-22 15:03:24 -04:00
Eric Frias
db85d35b19 Fix out-of-source builds, make field_reflector report errors finding template file 2015-06-22 14:57:43 -04:00
Eric Frias
52a72cdd9f Fix win64 compile errors (ambiguous comparisons between unsigned_int and uint16) 2015-06-22 14:56:40 -04:00
theoreticalbts
da77990b72 Implement field_reflector and assert_op 2015-06-22 13:26:08 -04:00
theoreticalbts
a2b9bc6d27 object_database.hpp: Implement template methods for downcasting objects 2015-06-22 13:26:08 -04:00
theoreticalbts
e9acc40a7d operation_history_object.hpp: Include operations.hpp 2015-06-22 13:26:08 -04:00
theoreticalbts
9e46ed80a0 Reflect many more types 2015-06-22 13:26:08 -04:00
theoreticalbts
e934b9cf44 key_object.hpp: Move address_or_key variant to header, reflect it 2015-06-22 13:26:08 -04:00
theoreticalbts
e814c4dbeb type_id.cpp: Define space_id and type_id for all object types 2015-06-22 13:26:07 -04:00
Vikram Rajkumar
df60efc83c Update fc submodule 2015-06-22 13:15:11 -04:00
Daniel Larimer
49b2ce8094 Merge branch 'callprice'
Conflicts:
	tests/common/database_fixture.hpp
2015-06-21 19:41:32 -04:00
Daniel Larimer
177950b791 Fix margin call price calculation 2015-06-21 19:37:14 -04:00
Eric Frias
1b9ca9ffe8 Add wallet command for whitelisting accounts.
Re-enable shutdown in node code which was causing some (not all) of the
errors in two_node_network test #55, and likely occasional crashes at
shutdown for the witness node
2015-06-20 18:36:02 -04:00
Eric Frias
dac9057b12 Add missing commands for asset features to wallet 2015-06-19 19:27:18 -04:00
Daniel Larimer
08bf4ec3fe progress 2015-06-19 18:49:32 -04:00
Nathan Hourt
127ca9f8de WIP: Remove call price from call_order_update_operation 2015-06-19 18:14:23 -04:00