Commit graph

261 commits

Author SHA1 Message Date
Daniel Larimer
e161e5a9fc Issues #112 Verifying all signatures are used
- refactor how signatures are stored on the transaction, removing key_id
and extra_signatures maps and replacing with a vector
- verify that each key only signs one time
- update tests to handle stricter policies on signatures
2015-06-30 15:11:26 -04:00
Vikram Rajkumar
0858018977 Fix crash running tests 2015-06-30 11:01:32 -04:00
Vikram Rajkumar
33636a513e Merge pull request #111 from pmconrad/unused_code
Unused code
2015-06-30 10:46:53 -04:00
Nathan Hourt
6aae0d8314 Cleanup balance_object_test a bit 2015-06-30 10:25:46 -04:00
Peter Conrad
9beff42daa Unused code 2015-06-30 12:02:47 +02:00
Peter Conrad
d0aaad6117 Deprecated + unused + identical to key_to_wif 2015-06-30 11:23:27 +02:00
theoreticalbts
417f869dea Revert "cli_wallet: Implement HTTP header for wallet unlocking"
This reverts commit 8db1b930f3.
Since cli_wallet itself makes no effort to be stateless, we
can simply unlock in a separate call.  Removing the ability
to use the header to unlock reduces the potential for user
confusion about whether the HTTP API provides security
(it does not).
2015-06-30 03:08:34 -04:00
theoreticalbts
8db1b930f3 cli_wallet: Implement HTTP header for wallet unlocking 2015-06-30 03:01:58 -04:00
theoreticalbts
cabc357eab cli_wallet: Add dedicated HTTP server to workaround #1 2015-06-30 03:01:58 -04:00
theoreticalbts
597fe8e912 fc: Implement HTTP server for API RPC 2015-06-30 03:01:32 -04:00
Daniel Larimer
f128839379 Merge branch 'master' of github.com:cryptonomex/graphene 2015-06-29 18:48:51 -04:00
Daniel Larimer
8b546cbf60 adding get_transaction api call 2015-06-29 18:48:47 -04:00
Nathan Hourt
391b0bec45 Progress #17: Remove GRAPHENE_INITIAL_SUPPLY
The INITIAL_SUPPLY macro is generally not useful, and there's no good
way to fulfill the promise it creates. By removing it, I can skip the
scaling on the genesis values. Now, if there is an allocation at
genesis, the supply is determined by that allocation. Otherwise, the
supply is GRAPHENE_MAX_SHARE_SUPPLY and it all belongs to
GRAPHENE_COMMITTEE_ACCOUNT.

Also, remove one of the redundant and confusing MAX_SUPPLY macros and
unify the usage to always be GRAPHENE_MAX_SHARE_SUPPLY.
2015-06-29 17:50:56 -04:00
Daniel Larimer
873cf4dcf8 Merge branch 'master' of github.com:cryptonomex/graphene 2015-06-29 17:29:11 -04:00
Daniel Larimer
681f0923fe add secondary index to get proposals relevant to a particular account 2015-06-29 17:29:04 -04:00
Nathan Hourt
8747a0572b Progress #17: add balance_objects to genesis, test 2015-06-29 17:18:29 -04:00
Daniel Larimer
2ee9b01d3f update secondary index on load 2015-06-29 16:37:31 -04:00
theoreticalbts
e43a538bdc types.hpp: Update fee schedule to use all uint64_t #99 2015-06-29 15:41:19 -04:00
theoreticalbts
51bb9025d0 db_maint.cpp: Avoid stdlib implementation-defined ordering when workers tie for votes 2015-06-29 15:36:02 -04:00
Vikram Rajkumar
9719689c34 Add unit test for is_valid_symbol 2015-06-29 15:25:54 -04:00
Vikram Rajkumar
24afda87ac Update docs submodule 2015-06-29 15:25:54 -04:00
Vikram Rajkumar
f0ea015ccf Clean up is_valid_name and remove child accounts; #15, #93 2015-06-29 15:25:53 -04:00
Vikram Rajkumar
3ac8ccaa39 Fix Ninja build 2015-06-29 15:25:53 -04:00
Vikram Rajkumar
605824952c Clean up is_valid_symbol 2015-06-29 15:25:53 -04:00
theoreticalbts
52d34cc978 Implement size_checker to show operation sizes 2015-06-29 15:14:47 -04:00
theoreticalbts
d0f1fe5b01 Implement burn worker test #37 2015-06-29 11:50:41 -04:00
theoreticalbts
662cda2abc db_init.cpp: Zero network_fee_percentage on null account 2015-06-29 11:33:29 -04:00
Vikram Rajkumar
7dd3d92a6c Merge pull request #102 from pmconrad/rfc_1035
See #15
2015-06-29 11:13:36 -04:00
Vikram Rajkumar
27905e1505 Merge pull request #101 from pmconrad/fix_build
Fixed test build
2015-06-29 11:13:31 -04:00
Nathan Hourt
f4342d98ae Resolve #67: Add name and/or URL to witness/worker/delegate objects 2015-06-29 10:02:45 -04:00
Peter Conrad
0162a7d87d Added more test cases 2015-06-29 11:56:52 +02:00
Peter Conrad
1acf66265f Allow double hyphens 2015-06-29 11:56:30 +02:00
Peter Conrad
18808b44ae Fixed build 2015-06-29 11:46:16 +02:00
Daniel Larimer
6279515c54 #98 - Adding wallet support for claiming balances 2015-06-28 16:16:24 -04:00
Daniel Larimer
73d55c2d94 #98 Add signature verification 2015-06-28 15:34:52 -04:00
Daniel Larimer
4695405c52 adding missing files 2015-06-28 15:12:00 -04:00
Chronos
48d9c9c6b2 added object database to .gitignore 2015-06-27 15:40:55 -07:00
Chronos
201156bb1d added object database to gitignore 2015-06-27 13:56:03 -07:00
Daniel Larimer
d3391c0fe5 #98 Implement Balance Object and Evaluator 2015-06-27 11:49:41 -04:00
Eric Frias
06b836f344 Add doxygen docs for most cli wallet functions 2015-06-26 17:47:03 -04:00
Nathan Hourt
baea85ea3a Resolve #97: Add exponentially growing fees on account creation
It scales up aggressively right now; this can be adjusted later. I just
wanted to demonstrate that it works.
2015-06-26 16:43:39 -04:00
Nathan Hourt
dba009da4d Resolve #83: core_exchange_rate in feed updates on maintenance 2015-06-26 15:46:16 -04:00
Nathan Hourt
dad1ca3bee Refactor: Move limit order execution to database
This logic was previously located in limit_order_create_evaluator, but
other code may need it in the future, so it should be made available at
the database level.
2015-06-26 15:11:46 -04:00
Vikram Rajkumar
8b010b1f99 Fix compiler warning 2015-06-26 11:40:49 -04:00
Vikram Rajkumar
8d45896900 Update submodules 2015-06-26 11:27:23 -04:00
Nathan Hourt
a626b0685f Fix failing prediction market test 2015-06-26 10:57:38 -04:00
Nathan Hourt
5b55ab71ea Resolve #94
Core exchange rate is now redundantly stored in price feed for
bitassets, and updated when the median feed changes. This allows feed
producers to update the core exchange rate. Redundant storage is
necessary, because the core exchange rate is needed for user-issued
assets as well as market issued assets.
2015-06-26 10:53:12 -04:00
Eric Frias
0936f9b5f2 Fix #95 CLI wallet crash on exit 2015-06-25 17:34:01 -04:00
Eric Frias
c80e0c09ba Make CLI wallet return 0 when exiting normally 2015-06-25 16:30:41 -04:00
Eric Frias
d193e7701d Attempted fix for #96 2015-06-25 15:43:12 -04:00