From fd499089bb84d1b3b2b13ff6b5231dc0d93ceda4 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Mon, 22 Sep 2014 21:30:43 -0700 Subject: [PATCH] update readme to reflect toJSON/fromJSON ...rather than toObject/fromObject, which I had considered doing before, but decided toJSON/fromJSON was more explicit. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1eb68878c..a32d8bffa 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,9 @@ type of object always and everywhere. 2) Have 100% test coverage so that the library is known to be reliable. 3) Library objects have an interface suitable for use with a command-line -interface and API, in particular having toString, fromString, toObject, -fromObject methods. +interface and API, in particular having toString, fromString, toJSON, fromJSON, +methods. Other common methods are toBuffer, fromBuffer relevant for binary +formats such as transactions and blocks. 4) All standard features of the bitcoin protocol are implemented and saved in lib/. All BIPs are correctly implemented and saved as BIPxx.js in lib/ (since