Skip to content

Commit

Permalink
feat: torrent codes (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias authored Mar 15, 2017
1 parent ff97ba3 commit 49c9c3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/base-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports['base10'] = new Buffer('09', 'hex')
exports['protobuf'] = new Buffer('50', 'hex')
exports['cbor'] = new Buffer('51', 'hex')
exports['rlp'] = new Buffer('60', 'hex')
exports['bencode'] = new Buffer('63', 'hex')

// Multiformats
exports['multicodec'] = new Buffer('30', 'hex')
Expand Down Expand Up @@ -80,5 +81,9 @@ exports['eth-storage-trie'] = new Buffer('98', 'hex')

exports['bitcoin-block'] = new Buffer('b0', 'hex')
exports['bitcoin-tx'] = new Buffer('b1', 'hex')

exports['stellar-block'] = new Buffer('d0', 'hex')
exports['stellar-tx'] = new Buffer('d1', 'hex')

exports['torrent-info'] = new Buffer('7b', 'hex')
exports['torrent-file'] = new Buffer('7c', 'hex')

0 comments on commit 49c9c3d

Please sign in to comment.