Commit Graph

47 Commits

Author SHA1 Message Date
1423e1961e
Properly trylock consensus DB writes 2021-04-10 14:42:39 -05:00
f072d81b5f
Wrap complex push in trylock 2021-04-10 14:35:11 -05:00
1bba0a18ec
Lovely band-aids 2021-04-10 14:18:55 -05:00
313fdb65e9
Basic infrastructure for remote peering 2021-04-10 13:00:29 -05:00
46131e2219 Merge branch 'main' of github.com:hackku21/loc-chain-backend into main 2021-04-10 17:12:31 +00:00
377cc81093 Added server token verification 2021-04-10 17:12:21 +00:00
8f34fd3be0
Add time-based penalty system for repeat block-pushers 2021-04-10 12:10:52 -05:00
9e4164632c
Add proof-of-elapsed-time based consensus algorithm 2021-04-10 11:27:05 -05:00
fbc3711560 Added check api to retrieve blocks for certain timeframe 2021-04-10 16:17:01 +00:00
71b4fefef7
Comment 2021-04-10 09:36:02 -05:00
a3c60a1951
Fix logic for validating blockchain and expose debugging endpoint 2021-04-10 09:34:04 -05:00
f0005a9ed3
Add exposure notification example to reference implementation 2021-04-10 09:01:35 -05:00
d8cae0f559
Add realtime subscription and debug endpoint for pushing exposure notifications to chain 2021-04-10 09:01:13 -05:00
69c441ba56
Make realtime database concurrency-safe using mutex-style locking 2021-04-10 09:00:45 -05:00
5f3a1940e5
Add /api/v1/chain endpoint to read blockchain 2021-04-10 07:36:14 -05:00
f0570a6101
Comment all the things and remove unnecessary files 2021-04-10 07:26:42 -05:00
6ba038e4bf
Clean up transaction logging logic for encounters 2021-04-10 07:12:03 -05:00
934b322835
Update reference client implementation to make requests to test endpoint 2021-04-10 07:09:08 -05:00
887a2afe77
Fix reference client implementation - swapped hash gen 2021-04-10 05:50:51 -05:00
0cb38027a1
Add reference client implementation for testing 2021-04-10 05:49:23 -05:00
67fd01c9e9
Update libraries 2021-04-10 05:20:13 -05:00
6043f0de46
Remove unnecessary ORM code 2021-04-10 05:17:13 -05:00
3fa360a96b
Update libraries 2021-04-10 04:57:36 -05:00
7e15291806
Add API endpoint for testing transaction 2021-04-10 04:57:28 -05:00
5ae20e945f Reformat 2021-04-10 09:23:54 +00:00
025bc58869 Added signing for genesis block 2021-04-10 09:12:48 +00:00
9e4821c296
Add timestamps to block interfaces and clean up genesis block generation 2021-04-10 03:58:38 -05:00
5dc6db0b8e
Add support for checking for genesis block 2021-04-10 03:51:21 -05:00
c067216af3
Clean up and add comments 2021-04-10 03:49:00 -05:00
3b7e72adab
Add Blockchain.submitTransactions 2021-04-10 03:44:56 -05:00
6441a5cad7 Implemented proof of work 2021-04-10 08:30:17 +00:00
33f34d733b
Add proof property to block interface 2021-04-10 03:11:18 -05:00
27e161ed44
Add config passthrough for GPG keys 2021-04-10 02:56:18 -05:00
29f9fe9f1f
Implement basic chain validation and stub PoW 2021-04-10 02:51:31 -05:00
289f184b4d Submit transaction and remove from database 2021-04-10 07:30:39 +00:00
16ebe6158a
Add firebaseID to interface 2021-04-10 02:30:44 -05:00
f797cd0e25
Include firebase ID on resource 2021-04-10 02:28:43 -05:00
e569841356 Merge branch 'main' of github.com:hackku21/loc-chain-backend into main 2021-04-10 07:17:23 +00:00
172a088e4a Implemented transaction verification check 2021-04-10 07:15:54 +00:00
df8584f4b8
Add basic block object interfaces 2021-04-10 02:01:57 -05:00
5734863c7a
Add firebase collection and transaction item 2021-04-10 00:47:05 -05:00
b81e571901
Add firebase user auth middleware 2021-04-09 21:59:06 -05:00
b0123afee8
Add initial firebase connection logic 2021-04-09 21:26:57 -05:00
c56f0706a4
Remove build from VCS 2021-04-09 21:26:40 -05:00
f66984b3e3
Add firebase config file to .env 2021-04-09 21:15:49 -05:00
0996361e43
Import Extollo framework 2021-04-09 20:33:40 -05:00
Garrett Mills
7d712fa1a9
Initial commit 2021-04-09 19:23:43 -05:00