summary refs log tree commit diff
diff options
context:
space:
mode:
authorlogin (tilde.temm)2020-02-21 23:27:27 -0500
committerlogin (tilde.temm)2020-02-21 23:27:27 -0500
commit61355a43749cb5507792482e64f45ad5883580dd (patch)
tree10b7c85123eb43a3e54dd772d99d4297bfc52797
parent4f1c68ddeda50c5ed971650e4fc9981d019a2c72 (diff)
Implemented message-character limits in tcoin.cpp and pcoin.cpp
After having received a 10000-character transaction message from ~jan6@envs.net,
I finally came around to implementing character limits on transaction messages.
Previously, I was of the opinion that one should be able to send a movie as a
transaction message if one so wished.
I took inspiration for an appropriate character limit from Australia's NPP (New
Payments Platform), which has a 280-character limit on transaction messages. I
strongly suspect this limit came from Twitter's analysis of tweets in different
languages and Twitter research that concluded that a 280-character tweet was the
appropriate length of tweet. A transaction message is supposedly like a tweet with
some money sent along with it.
-rw-r--r--pcoin.cpp0
-rw-r--r--tcoin.cpp0
2 files changed, 0 insertions, 0 deletions
diff --git a/pcoin.cpp b/pcoin.cpp
index 61a7945..a7d9baa 100644
--- a/pcoin.cpp
+++ b/pcoin.cpp
diff --git a/tcoin.cpp b/tcoin.cpp
index 5bf6faa..90bedec 100644
--- a/tcoin.cpp
+++ b/tcoin.cpp