Commit Graph

9 Commits

Author SHA1 Message Date
tenthirtyone
0bbf9119e2 Prettied require statements 2017-08-03 23:10:03 -04:00
tenthirtyone
836a2c4457 Config renamed to index.js for implicit importing. Moved routes to their own files 2017-08-03 22:18:12 -04:00
tenthirtyone
43b23b80dc Transaction, Input and Output models are wired or stubbed. Tomorrow/Tonight I wire up the API 2017-08-03 18:08:04 -04:00
tenthirtyone
7d5cade288 Transactions syncing, inputs and outputs mocked up. Bcoin data for tx, inputs and outputs varies depending on the vanilla object vs the object.toJSON() method Bcoin attaches to its primitives. Will likely need to redress this as Bcoin changes but for now this is how we move forward. 2017-08-03 16:19:53 -04:00
tenthirtyone
ea7e7aae34 Processing tx, input and output. About to refactor tx models to fit insight 2017-08-03 15:21:07 -04:00
tenthirtyone
8c5f296980 Input/Output moved back inside Transaction model file 2017-08-03 11:52:23 -04:00
tenthirtyone
3bf0fe7328 Transaction Models and updated config requires 2017-08-03 11:42:24 -04:00
tenthirtyone
71a24237f2 Stubbed insight API
Server changed to API
cleaned up some console.log

Insight UI does not use the entire API. Those are high priority
2017-08-02 18:23:27 -04:00
tenthirtyone
b028dead40 Initial Commit
Changelog:
Setup & Foundation
- bcoin
- express
- mongo
- eslint
- logging

Status: Bcoin syncs over network, uses a local leveldb to store blocks and checkpoints. Block event saves data to mongo. Express endpoint for block hashes, stubbed to reply with blockhashes until mongo models are finalized.

ToDo:
Move config out of code
2017-08-02 14:51:06 -04:00