comment-server/requirements.txt

41 lines
1.1 KiB
Text
Raw Normal View History

2019-05-21 14:42:13 +02:00
Faker>=1.0.7
asyncio>=3.4.3
2019-05-21 13:55:48 +02:00
aiohttp==3.5.4
aiojobs==0.2.2
2019-07-19 06:31:57 +02:00
ecdsa==0.13
cryptography==2.5
2019-05-21 13:55:48 +02:00
aiosqlite==0.10.0
PyNaCl>=1.3.0
requests
2019-05-26 04:44:56 +02:00
cython
2019-07-19 06:31:57 +02:00
{
"items": [
{
"comment": "Sick chess set",
"comment_id": "a1336c28a0752d6695d6588330842e8d43f4f89839193a0fe09b3eb8dee0588d",
"timestamp": 1561669743
},
{
"channel_id": "6d266af6c25c80fa2ac6cc7662921ad2e90a07e8",
"channel_name": "@bbbbb",
"channel_url": "lbry://@bbbbb#6d266af6c25c80fa2ac6cc7662921ad2e90a07e8",
"comment": "YOLO",
"comment_id": "676266d2a750a206cf279ff777a21e2914acb33b820cef9ea8479afb3d926d58",
"is_channel_signature_valid": true,
"signature": "e8ad5dbc268365e5d16f6a9b5d82323efc550412a7a291aa3e715e31641cc57b18241a132ebed28a848086fca6e200a735281c631c7474b01b4c32851ea3dd57",
"signing_ts": "1561669614",
"timestamp": 1561669614
}
],
"page": 1,
"page_size": 50,
"total_items": 2,
"total_pages": 1
}
pieces = [
comment['signing_ts'].encode(),
channel.claim_hash,
comment['comment'].encode()
]