Commit Graph

26 Commits

Author SHA1 Message Date
Alexander Bezobchuk b9be1166f7 Merge PR #3673: Message & Codec Registration Consistency 2019-02-25 16:16:52 +01:00
Sunny Aggarwal b7da2eaa33 Merge PR #2799: Account numbers and sequences to uint64 2018-11-26 12:29:21 +01:00
Sunny Aggarwal d666658ca9 Merge PR #2553: Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route() 2018-10-23 21:23:55 +02:00
Dev Ojha 65137f6331 Merge PR #2343: Add a name field to the message type
This is to facillitate ease of implementing #1406. (Tags for messages
could then be added dynamically)

Ultimately once we make the router support hiearchical routing, (#770)
we can then remove the name field and just the parse info for tags from that.

Until then, we can parse the tag name as
`fmt.Sprintf("%s %s", msg.Type(), msg.Name())`
2018-09-17 22:34:06 +08:00
Dev Ojha 6b55093c75 Merge PR #2324: rename wire to codec
* rename wire to codec

* fix formatting and cli

* fix the docs
2018-09-13 14:17:32 -04:00
Alessio Treglia 86395809cb
Implement generate-only option for commands that create txs
The new CLI flag builds an unsigned transaction and writes it to STDOUT.
Likewise, REST clients can now append generate_only=true to a request's
query arguments list and expect a JSON response carrying the unsigned
transaction.

Closes: #966
2018-09-04 02:32:05 +02:00
sunnya97 7ac220beb6 asdf 2018-07-09 00:59:51 -07:00
Sunny Aggarwal 50ed0fa1ae asdf 2018-07-09 00:35:28 -07:00
Liamsi b7f902fba5 sort *all* GetSignBytes:
- call MustSortJSON before return JSON bytes to guarantee alphabetic
ordering

- moved SortJSON and MustSortJSON to types package to avoid cyclic
package dep
2018-07-06 01:12:57 +01:00
Christopher Goes 59aadf42aa
Ledger integration (#931)
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Christopher Goes 946f952de1
Linter fixes 2018-06-08 03:28:40 +02:00
Christopher Goes cbc6989ed6
Bech32ify msg.GetSignBytes() for x/ibc 2018-06-08 01:49:37 +02:00
Sunny Aggarwal af0e71fa0d
got rid of Get on Msg interface 2018-05-01 00:15:15 +02:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
Christopher Goes f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
mossid 2c0b172653 apply comments 2018-03-20 00:22:49 +01:00
Adrian Brink 23191aee68
Work out wire for IBC module 2018-03-18 15:47:17 +01:00
Adrian Brink 6c9b62d461
Add errors to IBC module 2018-03-18 14:51:08 +01:00
mossid aaaf18ad71 rm relay from basecli 2018-03-16 21:39:42 +01:00
Adrian Brink 1447bcf139
Integrate IBC more and more into basecli 2018-03-15 17:26:43 +01:00
Adrian Brink cd79574927
Add IBC to basecoind 2018-03-15 15:07:01 +01:00
Adrian Brink c409455150
IBC module 2018-03-15 14:54:44 +01:00
mossid 829f0f32fc Revert "in progress: wire -> json for now"
This reverts commit 25f01a3e12.
2018-03-15 13:49:18 +01:00
mossid 25f01a3e12 in progress: wire -> json for now 2018-03-15 11:36:17 +01:00
mossid 7049025f87 add basic components 2018-03-14 13:53:26 +01:00
mossid 1cb795ba73 structure 2018-03-14 13:11:33 +01:00