Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

chain: Implement emitter, price, and latest request hooks #2746

Merged
merged 44 commits into from
Oct 29, 2020
Merged

Conversation

taobun
Copy link
Member

@taobun taobun commented Oct 11, 2020

This is the initialed version of the application hook, this branch is on it WIP Please don't merge it into the master until the emitter work in this code structure

There are 2 more hooks that need to implement

  1. Store the latest request in sqlite to cache multi request
  2. Apply emitter to the new interface

The next improvements

  • Use kv database to store price instead of diskv.

@taobun taobun requested review from sorawit and Benzbeeb October 11, 2020 16:43
@render
Copy link

render bot commented Oct 11, 2020

@taobun taobun changed the title Add price hook chain: Implement emitter, price, and latest request hooks Oct 28, 2020
chain/hooks/request/request.go Outdated Show resolved Hide resolved
@taobun taobun requested a review from Benzbeeb October 28, 2020 08:41
@taobun taobun merged commit a4e9390 into master Oct 29, 2020
@taobun taobun deleted the app-hook branch October 29, 2020 07:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants