Commit graph

48 commits

Author SHA1 Message Date
Eric Frias
52a1db3700 Fix block_database::fetch_optional() and friends, which were throwing in
some cases where the requested block was not available instead of
returing an invalid optional.
2015-06-18 14:47:53 -04:00
theoreticalbts
53e144ae6b witness.cpp: Explicitly specify skip_flags 2015-06-18 12:45:43 -04:00
theoreticalbts
c65fb6b366 Use with_skip_flags() to handle virtual ops in clear_expired_orders 2015-06-18 12:33:44 -04:00
theoreticalbts
2ec92c6695 database: Make functions which don't take skip_flags arg, use them to implement old API which does 2015-06-18 12:33:44 -04:00
theoreticalbts
e6246bf9a0 Implement node_property_object 2015-06-18 12:33:44 -04:00
theoreticalbts
427d1a8977 evaluator.cpp: Remove obsolete verify_signature function 2015-06-18 12:33:44 -04:00
Vikram Rajkumar
34388fabee Further cleanup after LevelDB removal 2015-06-17 12:36:05 -04:00
Nathan Hourt
8f739ac767 Dramatically accelerate chain_test, fix core asset burn bug
When generating blocks until a timestamp, we now generate one block
immediately, then skip blocks until the timestamp, and generate a
final block then.

Also, this exposed a bug in the witness budget handling which
caused the undesired burning of core asset. This bug is now fixed.
2015-06-17 12:14:28 -04:00
Nathan Hourt
c9328cc7f4 Resolve #52 2015-06-17 11:48:55 -04:00
Eric Frias
57e569a672 Update fc to fix win32 build error, fixes #51 2015-06-17 11:09:59 -04:00
Daniel Larimer
4aa1d6b339 Merge branch 'remove_leveldb' 2015-06-16 18:46:25 -04:00
Daniel Larimer
3bc325436f Merge branch 'master' of https://github.com/cryptonomex/graphene 2015-06-16 18:46:16 -04:00
Daniel Larimer
2724939ffb tests pass again 2015-06-16 18:45:33 -04:00
Daniel Larimer
ca89d5057c remove dependency on level db, bugs left to fix 2015-06-16 15:56:13 -04:00
Nathan Hourt
377432453f Lay to rest #16
It's finally done.
2015-06-16 14:42:05 -04:00
Nathan Hourt
ce4846e81b Progress #31: Add some testing 2015-06-15 17:31:44 -04:00
Nathan Hourt
81c6338dfe Begin test for cashback rewards 2015-06-15 17:31:43 -04:00
Vikram Rajkumar
62d8f1887d Update fc submodule 2015-06-15 15:38:32 -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
Vikram Rajkumar
f777aae08e Remove confidential transfer operations 2015-06-15 15:36:47 -04:00
Daniel Larimer
9b920c798a convert more operations to void_result 2015-06-15 15:24:58 -04:00
Eric Frias
4490c3fa48 Win32 compile fixes 2015-06-15 14:46:19 -04:00
Eric Frias
7027e8aab3 Remove (direct) call to compiler intrinsic that had different behavior from portable code path
#46
2015-06-14 18:53:25 -04:00
Vikram Rajkumar
488b385e72 Fix build 2015-06-13 16:11:32 -04:00
Vikram Rajkumar
bc76bd05fc Add missing overrides 2015-06-13 16:09:51 -04:00
Vikram Rajkumar
cff606c9e2 Rebase onto master 2015-06-12 19:47:34 -04:00
Vikram Rajkumar
571555a253 Update fc submodule 2015-06-12 11:12:12 -04:00
James Calfee
40a28e6e50 Enhanced asset and price_feed validation error messages. 2015-06-12 11:11:28 -04:00
theoreticalbts
a34cde2178 db_init.cpp: Fix compiler warning 2015-06-11 17:55:15 -04:00
theoreticalbts
6e239eb2ad db_witness_schedule.cpp: Fix off-by-one translating between DB-level slot_num and scheduler-level slot_num 2015-06-11 17:55:15 -04:00
Eric Frias
93ecffc8a8 When get_account_balances is called with an empty list of assets,
return balances for all assets.  This fixes the wallet's
list_account_balances, which always returned an empty list.
2015-06-11 14:41:05 -04:00
Nathan Hourt
a185f864fc Progress #31: Implement threshold for vesting fees 2015-06-11 13:54:46 -04:00
Nathan Hourt
4080a2e7ee Add missing fee for 2-character account names 2015-06-10 15:21:54 -04:00
Nathan Hourt
876e9a125d Resolve #31: Wrap it up and fix the failing tests 2015-06-10 14:22:32 -04:00
Nathan Hourt
4df4e8014a Issue #31: Add account_upgrade_evaluator 2015-06-10 14:22:32 -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
18b163b99e Progress #31: Fix genesis initialization 2015-06-10 14:17:17 -04:00
Nathan Hourt
ed7d485df3 Progress #31: Initial work on new cashback system
Lots still to do. There's no longer a way to upgrade an account, genesis
can't evaluate, and who knows how many tests are failing... But it
builds!
2015-06-10 14:17:17 -04:00
Daniel Larimer
ff6b72361d optimize operation results for void ops 2015-06-09 16:53:14 -04:00
Daniel Larimer
df14ef5fef optimize operation results for void ops 2015-06-09 16:49:42 -04:00
Daniel Larimer
00078afa07 Fix #15 - accept aaa-bbb-1 as valid according to RFC 1035 2015-06-09 16:40:20 -04:00
Daniel Larimer
d57c0e0031 Fix #25 - listing all assets when given empty string 2015-06-09 16:31:07 -04:00
Daniel Larimer
666ffd07ae Fix #27 - return true on subscribe_to_objects 2015-06-09 16:24:55 -04:00
Daniel Larimer
d1f3ce8543 Issue #29 - get_short_orders crashes for UIA 2015-06-09 16:17:26 -04:00
Vikram Rajkumar
5633d92813 Apply remaining win32 patches by @emfrias 2015-06-09 14:11:57 -04:00
Nathan Hourt
0a945b0257 Initial commit 2015-06-08 12:36:37 -04:00