Commit Graph

46 Commits

Author SHA1 Message Date
d07feccd14
Exchance transaction for set() in Blockchain 2021-04-10 16:07:23 -05:00
0a512170cc
Reduce proof-of-time-elapsed waiting time 2021-04-10 15:59:53 -05:00
323c9408a0
Remove date fiddley bits 2021-04-10 15:53:25 -05:00
1a114d5e8d
Break refresh cycle 2021-04-10 15:40:47 -05:00
0aac7161df
Prevent circular refresh from peer-triggered refresh 2021-04-10 15:36:06 -05:00
8b3905fd5c
Responsible bug fixes 2021-04-10 15:23:00 -05:00
70aa8c6a5e
Add trylock for push and fix seqID generation bugs 2021-04-10 15:11:21 -05:00
092f3d49f1
Force trylock to write description to rtdb 2021-04-10 14:50:02 -05:00
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
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
6043f0de46
Remove unnecessary ORM code 2021-04-10 05:17:13 -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
0996361e43
Import Extollo framework 2021-04-09 20:33:40 -05:00