Skip to content

Commit

Permalink
Merge pull request #13 from blackcoffeexbt/main
Browse files Browse the repository at this point in the history
Version bump and increased size for kind 1 events and for queue message length
  • Loading branch information
blackcoffeexbt authored Jul 18, 2023
2 parents 926671e + eb2fd26 commit 7b6e5ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "git",
"url": "https://github.com/lnbits/arduino-nostr"
},
"version": "0.1.11",
"version": "0.1.12",
"dependencies": {
"ArduinoJson": "^6.21.1",
"uBitcoin": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Nostr
version=0.1.11
version=0.1.12
author=bc@omg.lol
maintainer=BlackCoffee <bc@omg.lol>
sentence=Nostr for Arduino.
Expand Down
2 changes: 1 addition & 1 deletion src/NostrEvent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void NostrEvent::setLogging(bool loggingEnabled) {
* @return String
*/
String NostrEvent::getNote(char const *privateKeyHex, char const *pubKeyHex, unsigned long timestamp, String content) {
StaticJsonDocument<1024> doc;
StaticJsonDocument<2048> doc;
JsonArray data = doc.createNestedArray("data");
data.add(0);
data.add(pubKeyHex);
Expand Down
2 changes: 1 addition & 1 deletion src/NostrQueueProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class NostrQueueProcessor {
public:
static const size_t MAX_QUEUE_SIZE = 5;
static const size_t MAX_ITEM_SIZE = 1024;
static const size_t MAX_ITEM_SIZE = 2048;

NostrQueueProcessor();

Expand Down

0 comments on commit 7b6e5ac

Please sign in to comment.